pastebin - collaborative debugging tool
script.kpaste.net RSS


Untitled
Posted by Anonymous on Tue 3rd Mar 2015 03:03
raw | new post

  1. ## Specify all paths in this array.
  2. paths=(
  3. # Chromium
  4. ~/.config/chromium
  5.  
  6. # Weechat (
  7. ~/.weechat
  8.  
  9. # SSH
  10. ~/.ssh
  11. /etc/ssh
  12. )
  13.  
  14. # rsync -avpPhR
  15. rsync --archive --verbose --perms --partial --progress --human-readable --relative "${paths[@]}" "$tdir" 2> >(tee "$1"/rsync_stderr_"$timestamp" >&2)

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