💻 Software
Trigger off rsync by just plugging in a USB drive?
Fresh5 days ago
Mar 15, 20266404 viewsConfidence Score0%
0%
Problem
I'd like to know if it's possible to automatically mount, and fire up rsync to sync a USB drive with a directory? Specifically, I'd like to copy as much data as the drive can hold and only delete the oldest files if space is needed. I would assume I'd do something like this with a script, but my pr…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Trigger off rsync by just plugging in a USB drive?
Low Risk
You are probably going to want to look into a Udev rule to launch a script. What's good about udev rules is you can lock down what usb drive is used for backup so not every usb drive fires it off. First step is to get your udev rule going: Here is a…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix