master
Marc Wäckerlin 6 years ago
parent 04b1f1589a
commit 2a41362325
  1. 4
      lizardfs/lizardfs-snapshots.sh

@ -112,7 +112,7 @@ for src in "${SOURCES[@]}"; do
if test -n "$del"; then
for f in $(ls -d1 "${DESTINATION}/${target}"-* | sort -r | tail -n +"$del"); do
#echo " " "lizardfs rremove -l '$f'"
echo " " "rm -rf --one-filesystem '$f'"
echo " " "rm -rf --one-file-system '$f'"
done
fi
else
@ -121,7 +121,7 @@ for src in "${SOURCES[@]}"; do
if test -n "$del"; then
for f in $(ls -d1 "${DESTINATION}/${target}"-* | sort -r | tail -n +"$del"); do
#lizardfs rremove -l "$f"
test -d "$f" && rm -rf --one-filesystem "$f"
test -d "$f" && rm -rf --one-file-system "$f"
done
fi
fi

Loading…
Cancel
Save