help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Command failure: Too Many Files (rm, ls, tar)


From: Browder, Tom
Subject: RE: Command failure: Too Many Files (rm, ls, tar)
Date: Tue, 15 Apr 2008 13:39:00 -0500

>-----Original Message-----
>From: Bob Proulx [mailto:bob@proulx.com] 
>Sent: Tuesday, April 15, 2008 11:56
>To: Browder, Tom
>Cc: help-gnu-utils@gnu.org
>Subject: Re: Command failure: Too Many Files (rm, ls, tar)
>Browder, Tom wrote:
>> Last week I started getting errors indicating there were too many 
>> files for the command (rm *, ls *, tar cvzf xfer.tgz *) to continue.
...
>You are running into the kernel's ARG_MAX limitation.  Please 
>see this reference for more information.
...
>For your 'tar' case you can avoid the argument expansion 
>entirely simply by giving '.' as the argument.
>
>  tar cvzf xfer.tgz .

Hm, when I try this the tgz archive gets sucked back into itself.

-Tom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]