John, Still, you can format the file name in order to provide the means to the 'ls' command to properly understand the path of the file. Something like the following should help you:
find /home/ftp -mtime +238 -name \*.mpg -printf \'%p\'\\n | xargs ls -lt Regards, -Urivan Flores-Saaib ==============Original message text=============== On Fri, 25 Jul 2008 11:31:10 PDT John Oliver wrote: On Fri, Jul 25, 2008 at 11:06:36AM -0700, Carl Lowenstein wrote: > > find(1) has no problem with spaces in file names. The program that > receives results from find might have a problem. What is it that you > want to do? Can you give an example? That makes sense. For example... find /home/ftp -mtime +238 -name \*.mpg | xargs ls -lt Looking back, it is ls that barfs. -- *********************************************************************** * John Oliver http://www.john-oliver.net/ ** * *********************************************************************** -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list ===========End of original message text=========== Urivan A. Flores Saaib CiberLinux Networking Email: [EMAIL PROTECTED] -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
