Thread: Search by date modified.
hi all,
have directory 52,000 sub-directories. each sub-directory has numerous files. need search each sub-directory, , find out if of files newer june, sixth, 2006.
if file older 6.6.06, can move next sub-directory.
if files older, can delete them all, , sub-directory.
so, looking @ find command, , think of work need command:
but cant seem work, , haven't found examples how use -newerxy option.code:find -newerxy
have ideas how can done, or functional code example?
if try see man page find, see -newerxy , other options discussed there in pretty details...
however, writing own depth first search procedure may give lot of flexibility using find. various status, can use stat program.code:$ man find
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk [SOLVED] Search by date modified.
Ubuntu
Comments
Post a Comment