On May 5, 2009, at 7:51 AM, David Ledger wrote: > At 12:53 -0700 4/5/09, Wing Wong wrote: > Hmm... instead of ls, have you considered using 'find'? > > To get a similar output to what you have(ls -l information): > find . -ls | grep "Bookmarks.plist" > > To just get the files, without the "ls -l " info: > find . | grep "Bookmarks.plist" > > If you want to get the full path: > find `pwd` -ls | grep "Bookmarks.plist" > or > find `pwd` | grep "Bookmarks.plist" > > Using the full arguments to 'find' as indicated by others is the > preferred way to do it. The above will work, but it's not good to > get into the habit of using such inefficient code. I'm sorry if this comes across as rude, but using grep to parse the output of find is retarded. --- Eric Crist