|
|
|
@ -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 |
|
|
|
|