Search Results

Search: Posts Made By: Mr.Glaurung
983
Posted By Don Cragun
In the shell, and in UNIX and Linux in general,...
In the shell, and in UNIX and Linux in general, fork and exec are relatively expensive operations. So:
find . -type f -name nameis more efficient than:
find . -type f | grep nameunless there is...
983
Posted By Don Cragun
The -0 option to xargs and both -iname and...
The -0 option to xargs and both -iname and -print0 primaries in find are extensions to the standards that are not available in several implementations. This is a little harder to write, but is both...
2,184
Posted By Scrutinizer
Strange, I get : $ touch Scooby-Doo-1.txt...
Strange, I get :
$ touch Scooby-Doo-1.txt Himalaya-2.jpg Camping 2009-12-12-33.jpg a-1234.txt
$ find . -type f -regex '.*-[0-9]\{1,3\}\..*'
./2009-12-12-33.jpg
./Himalaya-2.jpg...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 05:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy