
Untitled
By: a guest on
May 6th, 2012 | syntax:
None | size: 0.41 KB | hits: 17 | expires: Never
OLDAPP="rt-sample-app"
NEWAPP="sample_app_31"
find ../${OLDAPP} -type f \
| egrep -v "\.git|javascripts/" \
| sed -e "s,.*${OLDAPP},," -e "s,public,app/assets," \
| sort -n > /tmp/$$_DIRS
find ../${NEWAPP} -type f \
| egrep -v "\.git" \
| sed -e "s,.*${NEWAPP},," -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