[GRLUG] globbing

Bob Kline bob.kline at gmail.com
Tue Oct 2 09:56:17 EDT 2012


It happens at the level of one file.
e.g., if I use "ls zz*" for the file zz.jpg
I get a globbing error.  Using "ls zz.jpg,"
I get the usual result.



   -- 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/20121002/01838efa/attachment.html>


More information about the grlug mailing list