Skip to content

Instantly share code, notes, and snippets.

@niallsmart
Last active August 29, 2015 13:57
Show Gist options
  • Save niallsmart/9904596 to your computer and use it in GitHub Desktop.
Save niallsmart/9904596 to your computer and use it in GitHub Desktop.
Compare web/app vs app/assets
DIFF_FLAGS=-qwc
(cd web/app; find . -name *.coffee) | while read file; do
diff $DIFF_FLAGS web/app/$file app/assets/javascripts/$file
done
(cd web/app; find . -name *.scss) | grep -v vendor | while read file; do
diff $DIFF_FLAGS web/app/$file app/assets/stylesheets/$file
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment