[Ilugc] Increasing the number of characters in a command line

Binand Sethumadhavan binand at gmail.com
Thu Jun 8 06:04:18 IST 2006


On 08/06/06, Binand Sethumadhavan <binand at gmail.com> wrote:
> find /path/to/dir -stuff that -lists your -files | xargs mv
> --target-directory=/path/to/new/dir

Make sure the find lists only files that you are interested in. Also,
use find as:

find whatever -print0 | xargs -0 whatever

(Read respective manpages to figure out why).

Binand


More information about the ilugc mailing list