Lampwrights Forum

Lampwrights Forum (http://www.lampwrights.com/index.php)
-   Linux (http://www.lampwrights.com/forumdisplay.php?f=1)
-   -   Using Linux find to find files and show attributes (http://www.lampwrights.com/showthread.php?t=115)

Jeff 04-26-2011 09:01 AM

Using Linux find to find files and show attributes
 
Sometimes you need to search for particular files and show their attributes in the results. Here is an easy way to do it:

Code:

find . -name somefile.xml | awk '{ print "ls -l "$1 }' | sh
Enjoy! :)


All times are GMT -4. The time now is 09:03 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2024, vBulletin Solutions, Inc.