Skip to main content

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:
code:
find -newerxy
but cant seem work, , haven't found examples how use -newerxy option.

have ideas how can done, or functional code example?

if try see man page find, see -newerxy , other options discussed there in pretty details...
code:
$ man find
however, writing own depth first search procedure may give lot of flexibility using find. various status, can use stat program.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk [SOLVED] Search by date modified.


Ubuntu

Comments

Popular posts from this blog

Thread: Where to get the latest Ubuntu 10.10 .iso file

After Effect warning: A problem occurred when processing OpenGL commands

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support