if [ "$1" != "-doit" ] ; then | |
echo " This is a dry run. Add -doit to actually remove" | |
doit="--dry-run" | |
else | |
doit="" | |
fi | |
rsync $doit --delete -rv ~/downloads/callisto/staging/plugins ~/downloads/callisto/releases/ | |
rsync $doit --delete -rv ~/downloads/callisto/staging/features ~/downloads/callisto/releases/ | |
echo " This was a dry run. Add -doit to actually remove" | |