Displaying 3 results from an estimated 3 matches for "max_arg_pages".
2010 Jan 25
1
[Fwd: Re: The directory that I am trying to clean up is huge]
...and is run once for each matched
> file.
>
Not wrong, just not very explicit regarding process. The man page
does not say that find acts upon each file as it is found, only that
it acts upon each file that is found. Neither does the man page
speak to the limits of the kernel configuration (MAX_ARG_PAGES)
implicitly used by cp, find, ls, etc.
The problem you have is that the selection of all qualified files is
completed before any are acted on by find. So, in your case of an
overlarge collection, the page limit is exceeded before any are
deleted. Taking each file as it is found and piping it to...
2004 Aug 10
5
bash: /usr/local/bin/rsync: Argument list too long
I get this error when I try to copy a directory with a lot of files:
"bash: /usr/local/bin/rsync: Argument list too long"
The exact command is: "/usr/local/bin/rsync -rsh=/usr/bin/rsh -r
--delete --perms --owner --group /mail/spool/imap/user/wex/*
root@192.168.250.68:/mail/spool/imap/user/wex".
BUT, if I try tris command it works: "/usr/local/bin/rsync
2010 Jan 23
8
The directory that I am trying to clean up is huge
The directory that I am trying to clean up is huge . every time get this
error msg
-bash: /usr/bin/find: Argument list too long
Please advise
Anas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100123/f6534851/attachment-0001.html>