Skip to main content

Featured post

Deployment of Wine

The project is to build a Linux Mint machine to have the identical functionality and ergonomics as the existing Windows 10 machine.
Having established that there is no way to migrate fully from Windows to Linux, the project now needs to consider running Windows apps in Linux.This is a big change to the strategy of the project.This is a big change to the deployment of a Linux workstation, a crushing admission of failure, and the opening of a whole new world of risks to an otherwise secure operating system. Environment & required functionalityFor this blog post, Wine was tested on: The Linux Mint Xfce 19 virtual machine "Bilbo", on host Windows 10 laptop "Saruman"The Linux Mint Xfce 18.3 virtual machine "Gimli", on host Windows 10 host "Legolas".
Alternatives There are alternatives to Wine/PlayOnLinux, notably the paid software Crossover. Software selection Wine and PlayOnLinux are present in Linux Mint by default.  If uninstalled following advice fr…

Re-filing files

The project is to build a Linux Mint machine to have the identical functionality and ergonomics as the existing Windows 10 machine.

This stage relates to re-filing files.

Environment & required functionality

Re-filing needs to happen on the following machines:
  • The Linux Mint Xfce 18.3 laptop "Gandalf";
  • The Windows 10 laptop "Legolas".
The synchronisation agent is Google Drive in Windows 10, and grive2 in Linux Mint.

Alternatives

There is no useful alternative to filing.

Some hardcore IT bods file nothing, in the vague hope that they'll find it anyway.  This is the digital equivalent of the "heap" approach to paperwork.

In the real world, normal people tend to structure their paperwork - and e-paperwork - into some sort of order.  The most common method is typically to group documents with a common purpose into a single folder.

Software selection

Whilst there is a tonne of utilities for both Linux and Windows that rename files, there is no software that ultimately does what a user needs to do.

Installation experience

There is no additional software to install.

User experience

The solution is to build a spreadsheet that accepts:

  • the file's full filepath where it currently sits;
  • the user's preferred filename;
  • the user's preferred folder/directory.
The spreadsheet then calculates two commands for the user to copy-paste into the terminal:

  • to copy the file from the source to the destination, renaming it in the process;
  • to delete the file from the source.

This is by far the easiest solution, because it uses existing software and achieves the desired outcome in the quickest way possible, breaking the manual sub-tasks down into batch processes.

The method works in both Windows (using Excel and the Command Prompt) and Linux (using Calc and the Terminal).  The spreadsheets are different, to reflect each platform's different commands and syntaxes:

Linux Windows
cp copy
rm del
/ \

Where the destination is within the scope of Google Backup & Sync/Grive2, then files sync as normal.

Conclusion

Re-filing files can be done equally easy between Windows and Linux.  Basic - really core - data functionality is possible in both platforms using an identical method.

Completed Jul2018.

Comments