Date: Sun, 29 Aug 2010 21:34:59 +0200 From: Polytropon <freebsd@edvax.de> To: merlyn@stonehenge.com (Randal L. Schwartz) Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: how do i scp .dotfiles?? Message-ID: <20100829213459.ba11c3b8.freebsd@edvax.de> In-Reply-To: <864oedkzck.fsf@red.stonehenge.com> References: <20100827170737.GA96063@thought.org> <26118_1282929673_4C77F409_26118_366_1_D9B37353831173459FDAA836D3B434999FDCA57D@WADPMBXV0.waddell.com> <20100827211306.68e261be.freebsd@edvax.de> <20100828070231.GA98502@thought.org> <4C78E509.6020701@infracaninophile.co.uk> <20100829010531.GA1471@thought.org> <86iq2tms2e.fsf@red.stonehenge.com> <20100829190747.GB4151@thought.org> <864oedkzck.fsf@red.stonehenge.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 29 Aug 2010 12:12:11 -0700, merlyn@stonehenge.com (Randal L. Schwartz) wrote: > >>>>> "'Gary" == 'Gary Kline' <kline@thought.org> writes: > > >> There's a big difference between: > >> > >> cd $HOME && gtar cfz /tmp/xx.tgz . # should get everything > >> > >> and > >> > >> cd $HOME && gtar cfz /tmp/xx.tgz * # will miss all the dotfiles > >> > >> Did you do the latter, by chance? > > > 'Gary> Sure. my default is the asterisk. > > Well, there's your problem. Sometimes, you have to actually think > about what you're doing. :) The "problem" (i. e. a convention) is that .* is not part of *, which includes everything else, even "nothing", and the form *.* (that looks like the DOS equivalent of "all files") does seem to omit .*; the spaced form * .* would work as it contains * (which does not contain .*) and .* (not in *). :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100829213459.ba11c3b8.freebsd>