[CentOS] listing files with spaces, using wildcard

Fri Feb 20 13:24:40 UTC 2009
Miguel Ángel MF <michelangelo13 at gmail.com>

You should use double quotes (").

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



http://www.brainyquote.com/quotes/authors/m/muhammad_ali.html

http://www.brainyquote.com/quotes/authors/e/emma_goldman.html

http://www.brainyquote.com/quotes/authors/m/michelangelo.html




George Burns  - "I would go out with women my age, but there are no women my
age."

On Fri, Feb 20, 2009 at 2:08 PM, bruce <bedouglas at earthlink.net> wrote:

> hey...
>
> here's one i can't see..
>
> goat a bunch of files in different dirs.. the files might have spaces
>
>  1foo_ aa_bb_cc.dog
>  2foo_aa_bbbb_cc.dog
>  3foo_aa_bb _ccc.dog
>  4foo_aa_bb_cc.dog
>  5foo_aa_bb_cc.dog
>  6foo_aa_bb_cc.dog
>
> i'm trying to figure out how i can do a complete list of all files with
>  *foo*dog
>
> so i get the files with spaces and underlines...
>
> i thought simply doing somehting like
>
>  ls '*foo_*.dog' and surrounding the filename with single quotes would
> work.. but it doesn't.
>
> thoughts/pointers/etc...
>
> thanks
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20090220/b504ef84/attachment-0005.html>