Wednesday, 07 January 2009
rsync saved my life
Written by CJB   
Friday, 07 December 2007 12:06

 ...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!
Last Updated on Monday, 04 August 2008 12:06
 

my calendar

Adobe Flash Player version 9 is required for display of this Spongecell widget.

Please install the latest version of Adobe Flash Player from Adobe.

If you have already installed Adobe Flash Player version 9, please make sure that your browser supports javascript.