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

Adjusting screen brightness

The machine on which Linux Mint is installed an old Acer Aspire 5732Z (" Gandalf ") It has buttons to adjust the brightness of the screen's backlight.  When the user uses these buttons, Linux Mint correctly presented a fading-popup box (a slider bar) to denote relative brightness.  But Linux Mint did not actually adjust the brightness of the screen. It seems to be a known issue in the Linux Mint forums  and solved in multiple  stages by the Easy Tips Project . I followed the instructions on Easy Tips section 5.2  in Gandalf's admin account, then re-booted, then logged in using the user account, and the brightness adjustment function worked correctly. Easy Tips asks the user to discover the relevant property of the machine, then creates a file that contains a script of parameters that other programs in Linux Mint understand. This method worked for Gandalf, because Gandalf has an integrated Intel chipset. Useful commands at the Terminal ALT+T (or th...

Scanning & OCRring to PDF: Simple Scan, gimagereader and gscan2pdf v NAPS2 for Windows

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 scanning paper documents to PDF and digitising the scanned text via optical character recognition. Environment & required functionality The scan-and-OCR function needs to run on the following machines: The Linux Mint Xfce 18.3 laptop " Gandalf "; A Linux Mint Xfce 18.3 virtual machine " Gimli "; The Windows 10 laptop " Legolas ". In any modern office - whether at home or at work - some transactional documents and documents from public authorities still arrive by snail-mail. This requires the ability to scan all documents, optionally with the digitisation of scanned text (typically via optical character recognition). The hardware is an old HP OfficeJet Pro 276dw, connected to the LAN instead of directly to a workstation. Alternatives There are two strategies: To use the software pr...

A fail: networking Windows and Linux Mint using Samba

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. Windows 10 is already configured to use Samba  ( wiki ) (the SMB protocol , wiki ) out-of-the-box, although it turned out that there was a twist to the configuration. Alternatives There are ways to transmit occasional data between the two machines other than peer-to-peer networking, e.g. grive2.  However, peer-to-peer networking (file sharing, simple two-way server-and-client relationship) is the most efficient way for bulk data tran...