- #!/bin/bash
- # Usage: bash backup.sh /path/to/target/
- # alias sy='rsync -avp --partial --progress --human-readable'
- # Set backup location here
- bak=$1/homeprofile_backup_$(date +%F_%T%z)
- # Make a timestamped directory there.
- mkdir -v "$bak"
- # Backup the Chromium profile.
- sy -R ~/.config/chromium "$bak"
Untitled
Posted by Anonymous on Mon 2nd Mar 2015 22:50
raw | new post
modification of post by Anonymous (view diff)
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.