Skip to content

Instantly share code, notes, and snippets.

@davidino
Created April 20, 2012 10:39
Show Gist options
  • Select an option

  • Save davidino/2427711 to your computer and use it in GitHub Desktop.

Select an option

Save davidino/2427711 to your computer and use it in GitHub Desktop.
production vs deployment trick
find source/ -print | grep -v "localpath-directory-to-exclude" | cpio -pdm backup
#http://hints.macworld.com/article.php?story=20070408062023352
diff -qr dirA dirB | grep -v -e 'DS_Store' -e 'Thumbs' -e '.svn' | sort > diffs.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment