help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] Glob star pattern does not match files beginning with a


From: Michael Convey
Subject: Re: [Help-bash] Glob star pattern does not match files beginning with a period
Date: Mon, 13 Jul 2015 15:01:58 -0700

On Mon, Jul 13, 2015 at 2:55 PM, Evan Gates <address@hidden> wrote:


> Almost. You want .[!.]* and ..?* so you don't miss files like ..foobar


Good point. So, really the full command should be:
ls -d * .[!.]?*
​ ..?*

​


reply via email to

[Prev in Thread] Current Thread [Next in Thread]