Skip to content

Instantly share code, notes, and snippets.

@dajobe
Created January 4, 2012 06:45
Show Gist options
  • Save dajobe/1558843 to your computer and use it in GitHub Desktop.
Save dajobe/1558843 to your computer and use it in GitHub Desktop.
#!/bin/sh
ROOT=$HOME/working-dir
cd $ROOT
URL='http://SOURCE-URL/'
DIR='DEST-DIR/'
pavuk \
-mode sync \
-preserve_time \
-nostore_index \
-skip_url_rpattern 'C=[A-Z]' \
-skip_url_rpattern '/functions/?$' \
-dont_leave_dir \
$URL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment