Midstream, this may destroy the world

This commit is contained in:
2012-08-23 18:59:44 -04:00
parent e121bc09e1
commit c000ebba48
3 changed files with 11 additions and 3 deletions

View File

@@ -130,6 +130,11 @@ function spin() {
if [ "$NOOP" == "" ]; then
# Now for the real rsync back home
rsync -aWH /var/disco/testfs/real/scratchfs/. /
cd /var/disco/testfs/real/scratchfs/.unionfs
for file in $(find . -iname "_HIDDEN~" -type f);
do
rm -rf /${file}
done
fi
rm -rf /var/disco/testfs/noop/scratchfs/*
rm -rf /var/disco/testfs/real/scratchfs/*