Skip to content

Instantly share code, notes, and snippets.

@jasnow
Created July 23, 2011 21:17
Show Gist options
  • Save jasnow/1101893 to your computer and use it in GitHub Desktop.
Save jasnow/1101893 to your computer and use it in GitHub Desktop.
shell code to check 3.0 to 3.1 upgrade
find ../rt-sample-app -type f \
| egrep -v "\.git|javascripts/" \
| sed -e "s,.*rt-sample-app,," -e "s,public,app/assets," \
| sort -n > /tmp/$$_DIRS
find ../sample_app_3_1 -type f \
| egrep -v "\.git" \
| sed -e "s,.*sample_app_3_1,," -e "s,vendor/assets,app/assets," -e "s,public,app/assets," \
| sort -n > /tmp/$$_NEW_DIRS
sdiff -s -w80 /tmp/$$_DIRS /tmp/$$_NEW_DIRS |egrep -v plugins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment