|
@@ -11,7 +11,7 @@ if [ "$cmd" = "last" ]; then
|
|
cd "$dir"
|
|
cd "$dir"
|
|
elif [ "$cmd" = "prune" ]; then
|
|
elif [ "$cmd" = "prune" ]; then
|
|
echo "Deleting empty directories"
|
|
echo "Deleting empty directories"
|
|
- find "$TEMPSPACE" -type d -mindepth 1 -maxdepth 1 -empty -delete -print
|
|
+ find "$TEMPSPACE" -mindepth 1 -maxdepth 1 -type d -empty -delete -print
|
|
else
|
|
else
|
|
dir="$TEMPSPACE/$(date +%s)"
|
|
dir="$TEMPSPACE/$(date +%s)"
|
|
mkdir "$dir"
|
|
mkdir "$dir"
|