JoeKoop.com« > TomThumb


Screenshot TomThumb is a BASH script that, when a USB stick is inserted, will smartly skip the files it can, and copy the USB stick to your local drive; specifically, ~/.tomthumb/UUID=/$UUID/$DATE/ (example: /home/joek/.tomthumb/UUID=/7A9D-5FEC/2019-08-16_21-49-20/).

Table of Contents

  1. Features
  2. Dependencies
  3. Configuration
  4. Installation
  5. Documentation
    1. Usage

Quick Stats

First Release2 Sept 2019
Latest Release2 Sept 2019
Latest Versionv0.1.0
DownloadsDownloads Page
LicenseMIT
Repositorygithub.com/jkoop/tomthumb
PlatformLM v19 / BASH v4.4.20

Features

Dependencies

Configuration

Installation

  1. Install dependencies
    sudo apt install jdupes rsync
  2. Copy file tomthumb.sh to .tomthumb/ in your home folder: $HOME/.tomthumb/tomthumb.sh.
    ~/
     └─ .tomthumb/
         ├─ UUID=/
         ├─ tomthumb.sh
         ├─ your links
         └─ to UUIDs
  3. Make a bookmark to ~/.tomthumb/:
  4. Add ~/.tomthumb/tomthumb.sh to your list of startup applications:
    1. Open the "start" menu
    2. Search for "start"
    3. Open "Startup Applications"
    4. At the bottom of the window, click the + button, then "Custom command"
    5. Command: ~/.tomthumb/tomthumb.sh
    6. Delay: 5 seconds
    7. Click "Add", and close Startup Applications
  5. Relogin, or run:
    ~/.tomthumb/tomthumb.sh & disown

Documentation

Usage

  1. Insert a USB stick, and wait for Mint to detect it, etc.
  2. A terminal will pop up:

    Your sudo password is used only to get the filesystem's UUID, and for syncing, as seen on lines 35 and 63.

This page last changed 2020 Oct 22
Toggle dark mode