After fighting with the find command for quite a while yesterday, and trying to figure out it's regular expression parsing engine, one of my co-workers just let me in on a very useful function of find. You can specify multiple "-name" options on a command line if you seperate them with a "-o". For example, if you want to find all the files on your system named kids.txt and money.txt, you could issue the following command,
find / -name kids.txt -o -name money.txt
Pretty handy. Hope this helps you out if you are ever in this situation!
The One About The Important Thing
-
One hundred episodes. For this occasion, years in the coming, Lyle and I
talk about the thing itself — the nuts and bolts of the podcast, including
how the...
1 week ago
No comments:
Post a Comment