Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Backup using Osync -
# backup using
# Usage:
# ./backup-script nameOfFolder
# e.g
# ~$ ./backup-script Folder SecondFolder
echo "Starting backup"
for i
echo "Backing up from ~/home/khophi/$i to /media/khophi/khophiData/$i..." --master=/home/khophi/$i --slave=/media/khophi/khophiData/$i
echo "Done backing up"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.