From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PXeWU-0006Yi-AT for garchives@archives.gentoo.org; Tue, 28 Dec 2010 18:43:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0FA16E0691; Tue, 28 Dec 2010 18:42:13 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id B266CE0691 for ; Tue, 28 Dec 2010 18:42:13 +0000 (UTC) Received: by wyf22 with SMTP id 22so11671836wyf.40 for ; Tue, 28 Dec 2010 10:42:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:reply-to:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=kmK2d7yYyYa3fYA+FM3wcfyDdjB8XTJY3NN6ZnxT5+k=; b=ggO2MCcGqhnTjDyk37zZzjykiDfQ2NwIQc7on9PDTVEBuZllkt3L6SVrnU7i0NOziL HwzTk5XbpKrSexyRgwLEbnJe/vyOFWaXk2li6ZLjAAgdK8Gmfk9G9h6dE3ZzRmuwtdbW tpHog1Y7V9jV5uWq9jhST0XwXucJrAexo4Oio= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=CH60FgqYnZO7vH+YcE21r7Y3NXfQDJ9w8NMvZorC+2/kbwwydIyGg3ZpLKOVLxWAJH BUvM281p7eQJXFP9/U8/nLv44UZpyY4BPMrmVjmFz2Y9qeSvglPk8YGr/KoL9hBJQQul +3n+dzOZuug8VLSRmtEzw1h9e1uABThBhDJ28= Received: by 10.216.61.202 with SMTP id w52mr17166281wec.110.1293561732830; Tue, 28 Dec 2010 10:42:12 -0800 (PST) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id x3sm6666255wes.22.2010.12.28.10.42.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 28 Dec 2010 10:42:10 -0800 (PST) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Best way to copy /* ? Date: Tue, 28 Dec 2010 18:41:59 +0000 User-Agent: KMail/1.13.5 (Linux/2.6.36-gentoo-r5; KDE/4.4.5; x86_64; ; ) References: <20101228133231.522d4d40@digimed.co.uk> <4d1a0fa8.TVuQcBiVBzUKO5TQ%Joerg.Schilling@fokus.fraunhofer.de> In-Reply-To: <4d1a0fa8.TVuQcBiVBzUKO5TQ%Joerg.Schilling@fokus.fraunhofer.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3348673.el2otfvexc"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201012281842.13216.michaelkintzios@gmail.com> X-Archives-Salt: cd773bf6-6e5c-47d8-9c04-09ffbe7abd5f X-Archives-Hash: 4a6d3cd3ca959a6568e957101bf1d635 --nextPart3348673.el2otfvexc Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Tuesday 28 December 2010 16:26:16 Joerg Schilling wrote: > Neil Bothwick wrote: > > On Tue, 28 Dec 2010 00:02:31 -0500, Mike Edenfield wrote: > > > tar -C /old cpf - | tar -C /new xvpf - > > >=20 > > > You'll probably not want to do the entire / in a single go, > > > since /proc, /sys, and /dev (at least) should be skipped. > >=20 > > Which can be done with the -l option. >=20 > You are mistaken: The -l option causes tar to warn if not all hars links = to > a file could not be resolved. I often use this with a LiveCD: cd /home tar --exclude File1 --exclude Dir1 -lcpvSf - . | (cd /mnt/new_partition; ta= r - xpvf - ) or something like this with star: star -copy -p -xdot -xattr -H=3Dexustar -sparse -M -C /home . /mnt/new_part= ition (You can use -V -pat=3DFile1 to exclude files or directories with star, use= the=20 =2DM option to avoid following mount points). =2D-=20 Regards, Mick --nextPart3348673.el2otfvexc Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEABECAAYFAk0aL4UACgkQVTDTR3kpaLaFKACcCE9Uxarp4qoGopMHX5PbjpUz /joAoImTwQwN5kspkKxzV77Ket3aUb2D =BWui -----END PGP SIGNATURE----- --nextPart3348673.el2otfvexc--