> > find /patch -name something -exec -ls -lS +
> > which runs ls -lS once against all the files that find finds (added as
> > additional arguments), and therefore Sort works.
>
> Almost right.
>
> -exec + will not append all filenames found and run one command,
>
> it will append the maximum number of filenames that do not exceed the shell
> command line limit, and do that enough times to get through all the
> filenames.
>

Thanks for that Alan. I wasnt 100% sure I understood the man page, and that
issue could definitely bite if you weren't aware!

Reply via email to