bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


From: Henry Hung
Subject: (no subject)
Date: Fri, 29 Jan 2010 09:11:53 -0800 (PST)

Hi 
I don't know whether this is a design intent or a bug.
When I tried to list recursively a specified file, ls only searched the current 
directory for the file, not recursively. For example,
ls -R myFile*
displays only files with myFile pattern residing in the current working 
directory but not those in the sub-directories. 
All I want to do is to look for files with certain pattern throughout all 
sub-directories and the paths those files are located. 
ls -R | grep myFile*
works great but it doesn't give me the path of those files.
Is there a easy way to do it? Thanks
Henry 


      __________________________________________________________________
Ask a question on any topic and get answers from real people. Go to Yahoo! 
Answers and share what you know at http://ca.answers.yahoo.com


reply via email to

[Prev in Thread] Current Thread [Next in Thread]