From 941242a8d5dfcd2fbbbd306d00ef38115f841600 Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Fri, 14 May 2010 12:40:03 -0400 Subject: [PATCH] dm6: verbose output during garbage collection --- dm6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dm6 b/dm6 index a25804b..34bb654 100755 --- a/dm6 +++ b/dm6 @@ -221,9 +221,9 @@ while () { print STDERR "\nGarbage collection in '$link_dir'..."; chdir($link_dir) || die "chdir: $link_dir: $!"; print STDERR "\nRemoving files with link count < 3..."; -system("find . -type f -links -3 -print0 | xargs -0 rm -f") and die "system: exit status $?"; +system("find . -type f -links -3 -print0 | xargs -0rt rm -f") and die "system: exit status $?"; print STDERR "\nRemoving empty directories..."; -system("find . -type d -empty -print0 | xargs -0r rmdir -p --ignore-fail-on-non-empty") and die "system: exit status $?"; +system("find . -type d -empty -print0 | xargs -0rt rmdir -p --ignore-fail-on-non-empty") and die "system: exit status $?"; print STDERR "\nDone.\n"; exit(0); -- 2.30.2