Ignore a directory in listing

inode0 inode0 at gmail.com
Sun Apr 6 16:21:42 UTC 2008


On Sun, Apr 6, 2008 at 10:15 AM, Steven Buehler <steve at ibushost.com> wrote:
> I am trying to run the /bin/ls command but ignore a specific listing.
>  /bin/ls --ignore="steve" -d1 /usr/home/*
>  But when I run it with the -d1 option, it doesn't ignore it.  Does anybody
>  know why?  Or how to do this?

Looks like the ignore pattern only ignores implied entries, which I
guess are entries not listed specifically on the command line. I think
the * is actually causing the ignore to not do what you hoped.

John




More information about the redhat-list mailing list