[GRLUG] globbing

Bob Kline bob.kline at gmail.com
Wed Oct 3 00:30:17 EDT 2012


I discovered that only one directory
is having the globbing problem, and
it is the one with the largest number
of files.  All other directories work
fine, so it does appear that at some
point I've exceeded the number of
files that ftp globbing can handle.

Why there are limits I don't know,
but it's why things like xargs exist.
But not in the ftp package.

I do have a ticket at the web hosting
site, and as soon as they decide I've
supplied enough information, maybe
they'll come back with some kind of
solution.  A remote shell would be nice..

   -- Bob


On Tue, Oct 2, 2012 at 9:49 AM, <scott.tanner at comcast.net> wrote:

> I haven't seen that particular error, but it sounds like the "list too
> long" error I see in CentOS at times.   Do you see this error on any
> wildcard matching, or just when the wildcard matches a large number of
> files ( ie "rm *"  versus "rm exact_filename.tx?" )  ?
>
> If its matching a large number of files, try piping through xargs:
>
>   ls files2del* | xargs -i rm {}
>
>
>
> Regards,
> Scott
>
> ------------------------------
> *From: *"Bob Kline" <bob.kline at gmail.com>
> *To: *"Mailing List for LUG in greater Grand Rapids, MI area." <
> grlug at grlug.org>
> *Sent: *Tuesday, October 2, 2012 9:34:52 AM
> *Subject: *[GRLUG] globbing
>
>
> I've recently encountered an issue
> with globbing on my web hosting site.
>
> The problem is that any attempt to
> use wild cards when I try to, for example,
> delete a bunch of files on the hosting site
> results in an error saying "out of memory
> while globbing."
>
> In parenthesis it then suggests  "This probably
> means 'Permission denied.' "
>
> Permission to glob?
>
> I can, for example, delete files one at a time,
> by typing in the entire name - i.e., no wild cards.
>
> Nor does it appear to have to do with the
> number of files - no globbing even with one file.
>
> Any suggestions here?
>
> I'll ask the web host provider as well....
>
>    -- Bob
>
>
>
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shinobu.grlug.org/pipermail/grlug/attachments/20121003/7b5468c8/attachment.html>


More information about the grlug mailing list