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...

Networking using OpenSSH

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 networking the Windows 10 machine to the Linux Mint machine. Environment & required functionality The network should be a local network - to share files and folders - between the following machines: The Linux Mint Xfce 18.3 laptop " Gandalf "; The Windows 10 laptop " Legolas ". The network is a local area network from a domestic router, the usual 192.168.x.x thing. This is the second attempt to share files and folders between Windows and Linux Mint. Thankfully, this attempt met the core objectives. Alternatives As with the first (failed) attempt , peer-to-peer networking (file sharing, simple two-way server-and-client relationship) is the most efficient way for bulk data transfers, so if the network doesn’t work, then the test has failed. Software selection Both machines needed to have ne...

Project definition: to build a Linux Mint machine functionally identical to a Windows 10 machine

The aim of my project is to build a Linux Mint machine to have the identical functionality and ergonomics as the existing Windows 10 machine. Software The functional list of requirements, listed as software available on Windows, are: Google Chrome ; Google Earth ; Microsoft Office (but not Office 365); Foxit PDF Reader ; Google Backup & Sync for Google Drive ; Password vault ( Keepass) ; Picasa ; GPS Prune (a Java applet); XN Convert ; XN View ; a VPN client; SatSync ; ProRealTime (a Java applet); 7-ZIP ; MP3tag ; PDFill Free Tools ; device driver for an HP OfficeJet Pro 276dw , used mainly for scanning; Duplicati 2 ; a standalone media player; Treesize . Ergonomics The basic ergonomics is that keyboard access must be at least as good as Windows, if not better.  Keyboard accelerators and keyboard shortcuts must be clearly marked and traceable, without being hidden (if they are hidden, then hidden no more so than in Windows). Network To join t...