Skip to content

Instantly share code, notes, and snippets.

@pcewing
Created October 10, 2019 01:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pcewing/7aaf547bd6d27fb128ee2fb3294975ee to your computer and use it in GitHub Desktop.
Save pcewing/7aaf547bd6d27fb128ee2fb3294975ee to your computer and use it in GitHub Desktop.
Syncing music to flash drive via rsync

Assuming we have a flash drive mounted at the path /mnt/FlashDrive/Music/, we can sync up our own music directory to the flash drive using rsync as follows:

rsync --recursive --delete ~/Music/ /mnt/FlashDrive/Music/

Note that the trailing slashes on the folders are very important!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment