pastebin - collaborative debugging tool RSS

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

  1. #!/bin/bash
  3. # Set backup location here
  4. bak=$1
  5. timestamp=$(date +%F_%T%z)
  7. # Make a timestamped directory there.
  8. mkdir -v "$bak"homeprofile_backup_"$timestamp"
  10. "$bak"homeprofile_backup_"$timestamp"=timedir
  12. rsync -avp --partial --progress --human-readable blaah.txt "$timedir"

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 ( are not responsible for their content.
Abuse reports should be emailed to us at