Skip to content

Instantly share code, notes, and snippets.

@neilkod
Created January 31, 2012 20:45
Show Gist options
  • Save neilkod/1712796 to your computer and use it in GitHub Desktop.
Save neilkod/1712796 to your computer and use it in GitHub Desktop.
goal:
to copy directories and .dat files from remote server.
the daily directories don't exist locally.
can rsync create the missing directories for a range of days?
rsync -xtv -e ssh nkodner@server:/var/opt/dw/data/flurry_analytics_daily/2012-01-1[1-5]/*.dat $DW_DATA_HOME/flurry_analytics_daily
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment