8

Great shell command : Find all files modified in the past week using class libra...

 3 years ago
source link: https://fuzzyblog.io/blog/linux/2005/12/05/great-shell-command-find-all-files-modified-in-the-past-week-using-class-library-foo.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Great shell command : Find all files modified in the past week using class library foo

Dec 5, 2005 • {"login"=>"fuzzyblog", "email"=>"[email protected]", "display_name"=>"fuzzyblog", "first_name"=>"Scott", "last_name"=>"Johnson"}

Heh.  I was leafing through my copy of the Pragmatic Programmer while taking my shower (what's that you say; you don't shower at 3 am?  Then you don't have an absolutely wonderful Australian web consultant like Mike that you're time synched with) and I found this little gem:

find . -name '*.php' -mtime +7 -print | xargs grep 'v2db.php'

Yeah I know I should know it off the top of my head but I generally look these up until I memorize it.  And, if you think I'm blogging this because I **know** I'll need it again then please pass Go, collect $200 and get a Krispy Kreme.  Oh wait.  Here you go:

Tasty ... Hm... Donuts...


Posted In:


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK