david_williams | ddcb662 | 2007-06-28 03:26:16 +0000 | [diff] [blame^] | 1 |
|
| 2 | if [ "$1" != "-doit" ] ; then
|
| 3 | echo " This is a dry run. Add -doit to actually remove"
|
| 4 | doit="--dry-run"
|
| 5 | else
|
| 6 | doit=""
|
| 7 | fi
|
| 8 |
|
| 9 | rsync $doit --delete --ignore-existing -rv ~/downloads/webtools/updates/plugins ~/downloads/webtools/updates
|
| 10 |
|
| 11 | rsync $doit --delete --ignore-existing -rv ~/downloads/webtools/updates/features ~/downloads/webtools/updates
|
| 12 |
|
| 13 | if [ "$doit" = "--dry-run" ] ; then
|
| 14 | echo " This was a dry run. Add -doit to actually remove"
|
| 15 | fi
|