On Tue, 2004-06-15 at 17:05, Kyle Faber wrote:
> Evening,
>
> I'm sure its possible, but is there a 'quick' way to reverse a wildcard?
>
> Say I wanted a list of all the "not Jpegs" in a directory? How difficult
> would crafting the following command be?
>
> ls [Everything that is not] *.jpg
Probably not what you are looking for, but how about:
# ls | egrep -v "*.jpg"
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss