What we did at UBZ
Martin Pool
mbp at sourcefrog.net
Fri Nov 18 05:17:19 GMT 2005
On 18 Nov 2005, Michael Ellerman <michael at ellerman.id.au> wrote:
> On Tue, 15 Nov 2005 19:34, Matthieu Moy wrote:
> > John A Meinel <john at arbash-meinel.com> writes:
> > > $archive/
> > > .storage/
> >
> > I hate hidden files. They're not matched by * in my shell, so some
> > commands like "rm foo/bar/*" or "mv foo/bar/* other/dir/",
> > "du -sh *" ... fail.
>
> I realise we've decided that .bzr should become _,+=HERE_BE_DRAGONS=+,_, but I
> thought I'd just mention another reason why I like . files.
>
> They're not matched by * in my shell.
Under zsh with 'setopt extended_glob' you can say
du -sh *(D)
the (D) turns on GLOB_DOTS, meaning that . at the start of a filename is
not treated specially for globbing. zsh is highly worth learning.
--
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051118/2e6264e6/attachment.pgp
More information about the bazaar
mailing list