On Fri, Jul 25, 2008 at 05:18:04PM -0700, Urivan Saaib wrote:

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

Unless the filename contains single quotes, which wouldn't be too
surprising to find in a song name.

It would be nicer if xargs could easily just take arguments separated by
newlines instead of spaces, since newlines in filenames are much rarer than
space or quoting characters.

David


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to