Commit Graph

11 Commits

Author SHA1 Message Date
Peter J. Holzer 473a272066 Assume file has vanished if we can't lstat it
A file might be deleted between the time we read the directory and the
time we get around to check it, so if we can't lstat it, assume that is
what has happened. (It might also have been renamed, but that's
equivalent to this file being deleted and another being created, so we
don't have to treat this specially)
2016-10-04 23:59:58 +02:00
hjp ba64495861 (Nov 12 2009)
Implemented option -c  Consider only the inode change time of the file.
2012-03-02 11:29:42 +00:00
hjp 6e21e0d270 Added --include (-i) and --exclude (-x) options. 2006-08-25 09:57:10 +00:00
hjp 029195aa65 Print whole directory at rmdir with verbose output. 2005-04-04 16:05:40 +00:00
hjp e8c3f76218 Critical bug fix: Empty directories were removed even with -n.
Minor cleanup: Message "removing ..." is now the same with and without -n.
2004-11-02 09:01:12 +00:00
hjp e85052e3d6 Added -m option to synopsis. 2003-05-16 14:44:58 +00:00
hjp a6c79cefd9 Included -m (mtime-only) option (CVS is nice, but only if it used).
Improved pod a bit.
2003-05-16 13:38:25 +00:00
hjp 955d49149e Changed tests on skip_fifo to use _ instead of $i. The latter caused
extra calls to stat which clobbered the state of _ which caused spurious
errors/warnings on symlinks.
2003-05-15 10:49:33 +00:00
hjp 2ce9f5b473 Added yet another patch by Chris Mason.
Added POD.

Changed option processing to use Getopt::Long and Pod::Usage.
2003-05-14 11:49:56 +00:00
hjp 78c3f75328 Applied patch from "Chris L. Mason" <cmason@somanetworks.com> to prevent
filesystem traversal.

Return immediately if we cannot chdir back to the directory we came
from.
2002-02-25 23:33:29 +00:00
hjp 6279fc8ad3 Added configure script to figure out perl location. 2001-06-25 17:55:04 +00:00