Well, I wish I had gone and goofed off for the rest of the evening then come
in and used one of these 2-3 line solutions this morning. Still, I learned
some things reading them and will use them and the tldp reference for future
scripting. Thank you, Levi
--
To UNSUBSCRIBE, email to [EMAIL
On Wed 29 Jan 2003 10:27:22 +(+), Clive Standbridge wrote:
>
> I think you would want to round up nnumber to avoid one processor running two xargs
>processes:
Sorry, that wasn't quite what I meant to say. I'll try again:
... to avoid xargs running two mogrify processes on one processor.
On Wed 29 Jan 2003 08:37:35 +(+0100), Jean-Marc V. Liotier wrote:
>
> files=`find . -name '*.tif' -print | wc -l | tail -c 2 | head -c 1`
> cpu=`grep processor /proc/cpuinfo | wc -l | tail -c 2 | head -c 1`
If I understand you, you're using "tail -c 2 | head -c 1" to separate the number of
l
On Tue, 2003-01-28 at 23:56, Levi Waldron wrote:
> I'm sure this is simple, but maybe someone here can help me do it in a few
> minutes instead of hours. I have a bunch of files in a bunch of
> directories, and I want to run the same command on each of them. For each
> input file, the output f
Levi Waldron wrote:
I'm sure this is simple, but maybe someone here can help me do it in a few
minutes instead of hours. I have a bunch of files in a bunch of
directories, and I want to run the same command on each of them. For each
input file, the output file should have the same name except
On Tue 28 Jan 2003 17:56:51 +(-0500), Levi Waldron wrote:
> I'm sure this is simple, but maybe someone here can help me do it in a few
> minutes instead of hours. I have a bunch of files in a bunch of
> directories, and I want to run the same command on each of them. For each
> input file,
On Tue, Jan 28, 2003 at 05:56:51PM -0500, Levi Waldron wrote:
> I'm sure this is simple, but maybe someone here can help me do it in a few
> minutes instead of hours. I have a bunch of files in a bunch of
> directories, and I want to run the same command on each of them. For each
> input file,
On Tue, Jan 28, 2003 at 05:56:51PM -0500, Levi Waldron wrote:
| I'm sure this is simple, but maybe someone here can help me do it in a few
| minutes instead of hours. I have a bunch of files in a bunch of
| directories, and I want to run the same command on each of them. For each
| input file,
8 matches
Mail list logo