[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Accessing the partition number of file arguments to xargs?
From: |
Sven Hartrumpf |
Subject: |
Accessing the partition number of file arguments to xargs? |
Date: |
Sun, 21 Dec 2008 23:52:14 +0100 (CET) |
Hi all.
Is there a way to access the partition number of xargs' arguments on
the command line?
Example:
xargs -a argfile -n 10 -P 4 processor-program %I ...
%I should be iterating from 1 (or 0) to (number-of-files-in-argfile +
9 / 10).
If no such possibility exists, please read this as a Christmas
feature request :-)
Greetings
Sven
pgpJAutgHKgyB.pgp
Description: PGP signature
- Accessing the partition number of file arguments to xargs?,
Sven Hartrumpf <=