make: Entering directory '/home/cloud/machine'
find /app/data/backups \
-mindepth 1 \
-maxdepth 1 \
-type d \
-not -path '.*' \
-execdir rmdir --ignore-fail-on-non-empty '{}' \; cd /app/data/backups && \
ls -t --indicator-style=slash \
| grep '/$' \
| tail --lines=+31 \
| xargs \
--delimiter='\n' \
--no-run-if-empty \
rm --recursive --dir --
find /app/data/backups/.content-addressable-storage -mindepth 1 -maxdepth 1 -type f -printf "%f\n" | while read -r hash_value; do \
if [[ -z "$(find /app/data/backups -type l -lname "*/${hash_value}" -print -quit)" ]]; then \
echo "No symbolic link within /app/data/backups links to /app/data/backups/.content-addressable-storage/${hash_value}. Removing it..." ; \
rm "/app/data/backups/.content-addressable-storage/${hash_value}" ; \
fi \
done
make: Leaving directory '/home/cloud/machine'
find: ‘/app/data/backups/.content-addressable-storage’: No such file or directory
make: *** [/app/machine/maintenance.mk:74: prune-backups] Error 1