- #!/bin/bash
- # Set backup location here
- bak=$1
- timestamp=$(date +%F_%T%z)
- # Make a timestamped directory there.
- mkdir -v "$bak"homeprofile_backup_"$timestamp"
- "$bak"homeprofile_backup_"$timestamp"=timedir
- rsync -avp --partial --progress --human-readable blaah.txt "$timedir"
Untitled
Posted by Anonymous on Mon 2nd Mar 2015 23:14
raw | new post
view followups (newest first): Untitled by Anonymous
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.