X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=dupemerge;a=blobdiff_plain;f=dm6;fp=dm6;h=34bb654f41f9bf77c33e933557414e51e99c2a68;hp=a25804b7ab927328fe8935b8a3c8795c2f4c4195;hb=941242a8d5dfcd2fbbbd306d00ef38115f841600;hpb=f33f401917c7c40b17b3667fc8f29133e77c6523 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);