Skip to main content
7 events
when toggle format what by license comment
Dec 11, 2019 at 13:59 comment added Toby Speight Just a warning that most filesystems don't store a creation date - -ctime works on the last inode changed time, which will be updated e.g. when permission bits are changed.
Feb 27, 2019 at 20:03 history edited RalfFriedl CC BY-SA 4.0
Fixed formatting
Feb 27, 2019 at 19:58 comment added hyperbole If files contain spaces (or new-lines) you can change the command to find . -name 'a[123]' -ctime 6 | sed -e "s/.*/'&'" | xargs grep -l 'JMS111' and the filenames will be passed to grep in tact.
Feb 27, 2019 at 19:52 comment added Jeff Schaller consider directly calling -exec grep so that you don't break when filenames contain special characters (spaces, newlines)
Feb 27, 2019 at 19:51 history edited hyperbole CC BY-SA 4.0
more information about using -ctime
Feb 27, 2019 at 19:45 review First posts
Feb 27, 2019 at 20:03
Feb 27, 2019 at 19:41 history answered hyperbole CC BY-SA 4.0