11-23-2008
34,
0
Join Date: Jul 2008
Last Activity: 23 June 2014, 1:57 PM EDT
Posts: 34
Thanks Given: 0
Thanked 0 Times in 0 Posts
How to come out of this
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.