Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jul 2014 10:10:45 +0100
From:      krad <kraduk@gmail.com>
To:        Victor Sudakov <vas@mpeks.tomsk.su>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: long string using find and "-exec ls -ls" to find part-of filename
Message-ID:  <CALfReyeyDZB_pzomuE1dtVCh4EDP=WkUhn2vUjiNpy9CvtM8fg@mail.gmail.com>
In-Reply-To: <20140701043715.GB4635@admin.sibptus.tomsk.ru>
References:  <20140630045605.GA11147@ethic.thought.org> <53B0EFF2.80205@calorieking.com> <CA%2Bg%2BBvg1=o71ObOpbh4ry-=unj2HOjjmcQHX1DOeAfwyhLu=QQ@mail.gmail.com> <20140630053004.GB16901@ethic.thought.org> <CA%2Bg%2BBvh%2BDk0iYCjbGKVt59-nfDoCFQ6qmArrJu7ueaT7VzDi1g@mail.gmail.com> <20140630064044.GA25085@ethic.thought.org> <20140630230316.44ec3257.freebsd@edvax.de> <20140701043715.GB4635@admin.sibptus.tomsk.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@sibptus.tomsk.ru
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALfReyeyDZB_pzomuE1dtVCh4EDP=WkUhn2vUjiNpy9CvtM8fg>