[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Shell expansion of * and hidden files
- From: Ulrich Drepper <drepper redhat com>
- To: For users of Fedora Core releases <fedora-list redhat com>
- Subject: Re: Shell expansion of * and hidden files
- Date: Thu, 22 Jul 2004 20:24:03 -0700
James Wilkinson wrote:
> The most straightforward I can think of at this time of night
> is
>
> [james howells moo]$ find . -maxdepth 1 | egrep -v '^\.$' | xargs tar cvf woof.tar ./.oink
> ./baa
The most straight-forward way is to tell the shell you want the dot files:
$ ls -a
./ ../ .uu
$ echo *
*
$ shopt -s dotglob
$ echo *
.uu
$ shopt -u dotglob
$ echo *
*
--
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]