Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Re: Google; Twilight Tar
- Date: Fri, 18 Oct 2002 16:37:46 +0200
- From: Tobias Diedrich <td@example.com>
- Subject: [tlug] Re: Google; Twilight Tar
- References: <Pine.LNX.4.44.0210180314310.12946-100000@example.com> <1034950292.1636.55.camel@example.com>
- User-agent: Mutt/1.4i
Stuart Luppescu wrote: > Wow. This works. Weird. Why shouldn't the other form work, though? From the man page: |xargs reads arguments from the standard input, delimited by blanks |(which can be protected with double or single quotes or a backslash) or |newlines, and executes the command (default is /bin/echo) one or more |times [...] Note the "one or more times". AFAIK xargs is used to get around command line length limitations, so if the number of arguments would exceed the maximum line length the command is called multiple times. In case of tar this means that the .tar.gz gets overwritten a few times... Try using "find . -name \*.sas |xargs tar Azfv ltest.tar.gz > ltest.log" ^ replaced c(reate) with A(ppend) instead. I'd bet this will work. -- Tobias PGP: 0x9AC7E0BC This mail is made of 100% recycled bits Now playing: Masami Okui: Do-can 10 - bitamin - zettai,souda. -Attachment: pgp00055.pgp
Description: PGP signature
- References:
- [tlug] Google; Twilight Tar
- From: Tony Laszlo
- Re: [tlug] Google; Twilight Tar
- From: Stuart Luppescu
Home | Main Index | Thread Index
- Prev by Date: [tlug] Whats it like being a sys admin? (This rambles a bit.)
- Next by Date: [tlug] first, you must stand under a waterfall
- Previous by thread: Re: [tlug] Google; Twilight Tar
- Next by thread: [tlug] [off-topic] Unix Consultant
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links