diff --git a/org.eclipse.wtp.releng.webupdatesite/build-home/copyOnlyNew.sh b/org.eclipse.wtp.releng.webupdatesite/build-home/copyOnlyNew.sh new file mode 100644 index 0000000000000000000000000000000000000000..7e1e68ea2f36d6a47e0bcec7eca8513eac779f17 --- /dev/null +++ b/org.eclipse.wtp.releng.webupdatesite/build-home/copyOnlyNew.sh @@ -0,0 +1,16 @@ + +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/milestones/plugins ~/downloads/webtools/updates/ + +rsync $doit --ignore-existing -rv ~/downloads/webtools/milestones/features ~/downloads/webtools/updates/ + +if [ "$doit" = "--dry-run" ] ; then + echo " This was a dry run. Add -doit to actually remove" +fi +