if [ "$1" != "-doit" ] ; then | |
echo " This is a dry run. Add -doit to actually remove" | |
doit="--dry-run" | |
else | |
doit="" | |
fi | |
rsync $doit --ignore-existing -rv ~/downloads/webtools/testUpdates/plugins ~/downloads/webtools/updates/ | |
rsync $doit --ignore-existing -rv ~/downloads/webtools/testUpdates/features ~/downloads/webtools/updates/ | |
if [ "$doit" = "--dry-run" ] ; then | |
echo " This was a dry run. Add -doit to actually remove" | |
fi | |