pastebin - collaborative debugging tool
script.kpaste.net RSS


Untitled
Posted by Anonymous on Mon 2nd Mar 2015 21:49
raw | new post
view followups (newest first): Untitled by Anonymous

  1. #!/bin/bash
  2.  
  3.  
  4. # Usage: bash backup.sh /path/to/target/
  5. # alias sy='rsync -avp --partial --progress --human-readable'
  6.  
  7. # Set backup location here
  8. bak=$1
  9.  
  10. # Make a timestamped directory there.
  11. mkdir -v "$bak"/homeprofile_backup_$(date +%F_%T%z)
  12.  
  13. # Backup the Chromium profile.
  14. sy -R ~/.config/chromium "$bak"

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.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at