Thread
:
bash script to delete all directories over one week old
View Single Post
08-02-2005, 08:00 PM
#
2
(
permalink
)
sandman
Junior Member
Join Date: Jul 2005
Posts: 36
You might want to use "-type d" before the -exec also, to make sure it only comes back with directories. By default, it will show files, directories, symlinks, devices, pipes, sockets, etc. -- anything that exists. Use Care
sandman
View Public Profile
Send a private message to sandman
Find More Posts by sandman
Sponsored Links