Skip to content

Instantly share code, notes, and snippets.

@azisaka
Created August 28, 2009 04:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save azisaka/176789 to your computer and use it in GitHub Desktop.
Save azisaka/176789 to your computer and use it in GitHub Desktop.
DIRECTORIES = %w(Users/username)
TO = '/path/for/backup'
OPTIONS = { :rsync => '--progress -varRu', :remote => false }
rsync DIRECTORIES, nil, TO, OPTIONS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment