Skip to main content

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

Popular posts from this blog

Downgrading of the project: Calc has a fatal bug - it cannot reliably link workbooks

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 on-going work to make LibreOffice Calc workable. Unfortunately, it turns out that LibreOffice isn't fit for purpose.  Specifically, it cannot reliably link workbooks, even in its own native workbooks. As a consequence, the project is now downgraded.  My time is now better spent doing other, more productive things, with a greater chance of success. Background On 29Jul2018, I complied a detailed test using fresh, sample data created specifically for the purpose, in Excel on Windows 10, then had a virtual machine running LibreCalc on Linux Mint to import it. The basic spreadsheet functionality of linked workbooks failed haphazardly. I logged the test results on 29Jul2018 on AskLibreOffice  and, to date, have yet to see any evidence of anybody taking ownership of recognising the issue and thus fixing it. The s...

The Big Bang: Microsoft Windows goes for good, positive adaptations required

On 27Mar2021, Linux Mint ate Microsoft Windows 10 on Legolas. Three months on, I conclude beyond any doubt that wiping out Windows was the best decision I ever made. The second best decision I ever made was to test Linux Mint in Virtual Box five years ago. The third best decision I ever made was to take ownership of the learning curve that migrating in Windows really entails. A quick reminder: what’s Microsoft Windows like nowadays? I still need to use Windows at work. I cannot easily describe how painful it now is to use Windows. So I’ll try to describe it difficultly. My work machine is a powerful beast, but it exhibits constant latency. For a keyboard-orientated power user, this means that some keystrokes go walkabouts when other services on the Windows machine go to nuclear war with each other, scrambling to feed their narcissistic self-importance for besieged system resources wholly at the user’s expense. Something on Windows tends to clear the keyboard buffer randomly, resulting ...

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 functionality For 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 L...