[GRLUG] Argument list too long

Michael Mol mikemol at gmail.com
Tue May 15 22:37:50 EDT 2007


On 5/15/07, Bob Kline <bob.kline at gmail.com> wrote:
>
> On 5/15/07, Michael Mol <mikemol at gmail.com> wrote:
> OK,  thanks.  Running the man page for tar,
> it does point out that the default maximum is
> 128K characters.   I determined that the argument
> list in my situation would be just less than 256K,
> so I tried  "tar -s 262144  -f file-name *".
>
> Same error message.  It looks like the right thing
> to do, but doesn't do it.
>
> The man page includes this:
>
> "The operating system places limits on the values
> that you can usefully specify......"
>
> So,  more to explore here.

I believe you'll find the limitation to be 4K.  Try exploring with -s
argument values between 2K and 8K.
-- 
:wq


More information about the grlug mailing list