On 2005-12-05 17:56, user [EMAIL PROTECTED] wrote:
Ok, so I have some big directories with lots of files. If I do mv or cp,
it always refuses, telling me:
cp: argument list too long
I very often find that I want to move around huge trees, including
mostly source code, but compiled object
On 2005-12-05 18:44, user [EMAIL PROTECTED] wrote:
On Mon, 5 Dec 2005, David Kelly wrote:
On Mon, Dec 05, 2005 at 05:56:22PM -0500, user wrote:
[...]
- since I live in 2005, what can I do to my FreeBSD system to upgrade
it to handle the directories I have ? How do I fix this so I can
Ok, so I have some big directories with lots of files. If I do mv or cp,
it always refuses, telling me:
cp: argument list too long
so, no problem ... I get creative with things like this:
for f in 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W
X Y Z ; do cp $f* /some/dir ;
On Mon, Dec 05, 2005, user wrote:
Ok, so I have some big directories with lots of files. If I do mv or cp,
it always refuses, telling me:
cp: argument list too long
so, no problem ... I get creative with things like this:
for f in 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U
On Mon, Dec 05, 2005 at 05:56:22PM -0500, user wrote:
[...]
- since I live in 2005, what can I do to my FreeBSD system to upgrade
it to handle the directories I have ? How do I fix this so I can do
normal, simple command lines instead of butchered ridiculous hacks
like above ?
Upgrade the
user wrote:
Ok, so I have some big directories with lots of files. If I do mv or cp,
it always refuses, telling me:
cp: argument list too long
so, no problem ... I get creative with things like this:
for f in 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W
X Y Z ; do cp $f*
On Mon, 5 Dec 2005, David Kelly wrote:
On Mon, Dec 05, 2005 at 05:56:22PM -0500, user wrote:
[...]
- since I live in 2005, what can I do to my FreeBSD system to upgrade
it to handle the directories I have ? How do I fix this so I can do
normal, simple command lines instead of butchered
user wrote:
...
What I want to know is, how can I just use cp ? You are suggesting above
that the limitation is part of the users environment, and that I should
upgrade the user. I dn't know what you mean by that. I am root. How do
I upgrade the user(s environment ?)
thanks.
Go back
The sysctl kern.argmax reflects the maximum argument list size. It's
set to 65536, at least in 4.11, and is (I think) not changeable except
by rebuilding the kernel with a different value for ARG_MAX.
Is well and good that there be some limit to how much data one can pack
on the command line
2005/12/6, Richard Tobin [EMAIL PROTECTED]:
The sysctl kern.argmax reflects the maximum argument list size. It's
set to 65536, at least in 4.11,
just for info:
kern.argmax: 262144
on FreeBSD 6.0-STABLE
--
Pietro Cerutti
[EMAIL PROTECTED]
Beansidhe - SwiSS Death / Thrash Metal
10 matches
Mail list logo