rsync saved my life
Written by CJB    Friday, 07 December 2007 12:06    PDF Print E-mail

 ...not really but it's a really powerful  file back up and sync tool lurking under the hood in OSX and most Linux systems.

 here's a simple command  line to backup and subsequently (going forward) one folder to another

$ rsync -vrup /path_to_folder_source /destination_path_to_folder_backup
  1. // insert your own source and destinations paths
  2.  Other functions
  3. $ man rsync
  4. -v, --verbose               increase verbosity
  5. -q, --quiet                 decrease verbosity
  6. -c, --checksum              always checksum
  7. -a, --archive               archive mode, equivalent to -rlptgoD
  8. -r, --recursive             recurse into directories
  9. -R, --relative              use relative path names
  10. --no-relative               turn off --relative
  11. --no-implied-dirs           don't send implied dirs with -R
  12. -b, --backup                make backups (see --suffix & --backup-dir)
  13. --backup-dir                make backups into this directory
  14. --suffix=SUFFIX             backup suffix (default ~ w/o --backup-dir)
  15. -u, --update                update only (don't overwrite newer files)
  16.     --inplace               update the destination files inplace
  17. -K, --keep-dirlinks         treat symlinked dir on receiver as dir
  18. -l, --links                 copy symlinks as symlinks
  19. -L, --copy-links            copy the referent of all symlinks
  20. --copy-unsafe-links         copy the referent of "unsafe" symlinks
  21. --safe-links                ignore "unsafe" symlinks
  22. -H, --hard-links            preserve hard links
  23. -p, --perms                 preserve permissions

 

 



Add this article to your favorite Social Bookmarking websites
Reddit! Del.icio.us! JoomlaVote! Google! Live! Facebook! StumbleUpon! Yahoo! Free social bookmarking plugins and extensions for Joomla! websites!
Comments (0)add comment

Write comment
smaller | bigger

busy
Last Updated ( Monday, 04 August 2008 12:06 )
 

Your are currently browsing this site with Internet Explorer 6 (IE6).

Your current web browser must be updated to version 7 of Internet Explorer (IE7) to take advantage of all of template's capabilities.

Why should I upgrade to Internet Explorer 7? Microsoft has redesigned Internet Explorer from the ground up, with better security, new capabilities, and a whole new interface. Many changes resulted from the feedback of millions of users who tested prerelease versions of the new browser. The most compelling reason to upgrade is the improved security. The Internet of today is not the Internet of five years ago. There are dangers that simply didn't exist back in 2001, when Internet Explorer 6 was released to the world. Internet Explorer 7 makes surfing the web fundamentally safer by offering greater protection against viruses, spyware, and other online risks.

Get free downloads for Internet Explorer 7, including recommended updates as they become available. To download Internet Explorer 7 in the language of your choice, please visit the Internet Explorer 7 worldwide page.