Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Crufted with perl modules?
Date: Wed, 17 Nov 2010 23:04:02
Message-Id: AANLkTi=JJGTo6_8MU5LYsoLd_e78w8XgZ7AopAhGUawU@mail.gmail.com
In Reply to: Re: [gentoo-user] Crufted with perl modules? by Alan McKinnon
1 > > find /patch -name something -exec -ls -lS +
2 > > which runs ls -lS once against all the files that find finds (added as
3 > > additional arguments), and therefore Sort works.
4 >
5 > Almost right.
6 >
7 > -exec + will not append all filenames found and run one command,
8 >
9 > it will append the maximum number of filenames that do not exceed the shell
10 > command line limit, and do that enough times to get through all the
11 > filenames.
12 >
13
14 Thanks for that Alan. I wasnt 100% sure I understood the man page, and that
15 issue could definitely bite if you weren't aware!

Replies

Subject Author
Re: [gentoo-user] Crufted with perl modules? Alan McKinnon <alan.mckinnon@×××××.com>