Skip to content

Instantly share code, notes, and snippets.

@Pindar
Created January 9, 2016 16:51
Show Gist options
  • Save Pindar/8935e760ef0828a0d6e8 to your computer and use it in GitHub Desktop.
Save Pindar/8935e760ef0828a0d6e8 to your computer and use it in GitHub Desktop.
Backup files through rsync
#!/bin/bash
rsync -arq --exclude='.DS_Store' --exclude='.wdmc' /DataVolume/shares/Public/Shared\ Pictures/ nas:/DataVolume/Backup/Pictures/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment