From owner-freebsd-questions@FreeBSD.ORG Sun Aug 29 19:35:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 030A610656AA for ; Sun, 29 Aug 2010 19:35:03 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id B50AC8FC0A for ; Sun, 29 Aug 2010 19:35:02 +0000 (UTC) Received: from r55.edvax.de (port-92-195-116-86.dynamic.qsc.de [92.195.116.86]) by mx01.qsc.de (Postfix) with ESMTP id CAECF3D531; Sun, 29 Aug 2010 21:35:00 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o7TJYxcC011121; Sun, 29 Aug 2010 21:34:59 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 29 Aug 2010 21:34:59 +0200 From: Polytropon To: merlyn@stonehenge.com (Randal L. Schwartz) 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> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: how do i scp .dotfiles?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2010 19:35:03 -0000 On Sun, 29 Aug 2010 12:12:11 -0700, merlyn@stonehenge.com (Randal L. Schwartz) wrote: > >>>>> "'Gary" == 'Gary Kline' 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, ...