long string using find and "-exec ls -ls" to find part-of filename

krad kraduk at gmail.com
Tue Jul 1 09:10:46 UTC 2014


i like xjobs, it work similar to xargs but can do things in parallel more
easily than xargs


On 1 July 2014 05:37, Victor Sudakov <vas at mpeks.tomsk.su> wrote:

> Polytropon wrote:
> > Allow me to add one little reminder:
> >
> > When using xargs, usually _one_ program will be executed
> > with a command line containing _all_ results of the find
> > command. If you want to run a program on _each_ of the
> > results, this is the typical sh solution:
> >
> >       find ... | while read F; do
> >               somecommand $F
> >       done
>
> It's easier to use "xargs -n1" which I do all the time.
>
>
> --
> Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
> sip:sudakov at sibptus.tomsk.ru
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list