David Brown wrote: > 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.
Seems to me that the null-separator option works well enough, as in your earlier post. Null is not allowed in any esoteric filesystems out there, is it? :-) ..Ohhh, I guess that's just for gnu find & xargs progs, eh? So, what does the non-gnu world do? I suppose to start, they don't worry about filenames generated by foreign filesystems. Regards, ..jim -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
