Skip to content

Instantly share code, notes, and snippets.

@KATT
Created March 20, 2014 13:53
Show Gist options
  • Save KATT/9664217 to your computer and use it in GitHub Desktop.
Save KATT/9664217 to your computer and use it in GitHub Desktop.
#!/bin/sh
FROM="/Volumes/ustwo/Client/[..]/images/"
TO="./app/assets/images/"
TO="${PWD}/${TO}"
echo "rsyncing '${FROM}' to '${TO}'"
rsync -vur --exclude *. "${FROM}" "${TO}" --delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment