On 08:49 19 Dec 2002, IPM Return requested <[EMAIL PROTECTED]> wrote:
| There are occasions when that's won't do, but it's application most of
| the time.
Did I really type that? Ick. Naturally I meant this:
There are occasions when that won't do, but it's applicable most
of the t
On 15:21 18 Dec 2002, Rick Johnson <[EMAIL PROTECTED]> wrote:
| [...] Need to get into
| the habbit of using double-pipe more often too. [...]
Pronounce "||" as "or" instead of "double pipe", just like C's
short-circuiting "or" operator, and you'll find its usefulness easier
to remember.
Cheers,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Cameron Simpson wrote:
| So if I were writing the above job I'd go:
|
| for dir in */. # won't match files - saving some wasted effort in the loop
| do ( cd "$dir" || exit 1
| for tarf in *.tar
| do [ ! -s "$tarf" ] || tar xf "$tarf"
On 08:21 18 Dec 2002, Rick Johnson <[EMAIL PROTECTED]> wrote:
| John French (CIMS) wrote:
| | I have a large number of directories in a single directory. All of the
| | subdirectories have a single tar file. Is there a way to go through each
| | directory and extract the files from the tar file i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John French (CIMS) wrote:
| I have a large number of directories in a single directory. All of the
| subdirectories have a single tar file. Is there a way to go through each
| directory and extract the files from the tar file into the directory where
I have a large number of directories in a single directory. All of the
subdirectories have a single tar file. Is there a way to go through each
directory and extract the files from the tar file into the directory where
the tar file is located?
--
redhat-list mailing list
unsubscribe mailto:[E