will trillich wrote: > i keep forgetting about xargs. very clever gizmo! > > to sort the output by date, it's rather simple: > > locate <path-match-string> | xargs ls -dlt > > the -d is so directoriy contents wouldn't be listed, only the directory > item itself; -l says 'gimme a long listing' and -t says 'sort by modified > time'...
I'm so unsure about the xargs and the exec command. Which one is prefered, in which cases should I use one of the two? Thanks for the command string! Robert