Posted By

noah on 06/15/07


Tagged

backup rsync configuration jumpdrive


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

micmath
basicmagic


back up my thumb drive


 / Published in: Bash
 

  1. #assuming a windows box with Cygwin installed:
  2. #save new code
  3. rsync -a --delete /cygdrive/e/cb /cygdrive/c/nsussman_thumb_drive/cb
  4. #whatever is currently in environment
  5. rsync -a --delete /cygdrive/e/environment /cygdrive/c/nsussman_thumb_drive/environment
  6. #.emacs, .abbrev-defs
  7. rsync -a --delete /cygdrive/c/.* /cygdrive/c/nsussman_thumb_drive/environment
  8. #.bashrc, .profile, .history
  9. rsync -a --delete ~/.*
  10. #emacs modules
  11. rsync -a --delete /cygdrive/c/emacs/site-lisp /cygdrive/c/nsussman_thumb_drive/environment/emacs/site-lisp

Report this snippet  

You need to login to post a comment.