I set up rsync
as an hourly cron
job to back up data to an external USB device which is always plugged into my machine.
I see that Thunar (version 1.6.3 / Xubuntu 13.10) can mount this device when I just click on it in the left pane of the file manager under Devices. I can also right-click to "eject" it.
I want to know the actual command Thunar uses to mount/unmount the device without needing sudo
. Then I can put the same command in autostart so that rsync
can do its work. Now, if I forget to mount the USB device, rsync
won't do the backup.
mount
andumount