![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi,
i have to search for all files named FILE in my particular directory, which is /abc. when i am using 'find /abc -newer file2 -print | xargs ls -ld | grep 'FILE' this gives me all the files but the problem is, it takes all the files which comes under /abc/def also and all other diirectory for the same file name FILE. i want to restrict my search to this particular directory, and i need all FILE under only /abc, not /abc/def can someone please guide me on this. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|