12

Find by name and mtime

view full story
linux-howto

http://www.unix.com – Hi, I'm trying to find all files that have a .ksh and .p extension and that are 7 days old by using the below find command but it doesn't seem to as expected. It gives me random results.. Can someone point out what may be wrong? Code: find . -name "*.ksh" -o -name "*.p" -mtime -7 (HowTos)