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 1OIIWG-0000SR-Qg for garchives@archives.gentoo.org; Sat, 29 May 2010 09:39:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4765EE09F5; Sat, 29 May 2010 09:39:28 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 06677E09F5 for ; Sat, 29 May 2010 09:39:27 +0000 (UTC) Received: by wwi18 with SMTP id 18so536022wwi.40 for ; Sat, 29 May 2010 02:39:27 -0700 (PDT) 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=Q5UwFRHk9/9c3KIKRp0s701uyrgT2K4XnrtkdNw7lCg=; b=nSvgGOcC4dP5mk1o0mBc9S4zmmi5ZZLJ37aVQhn71eiOYFaTDcN/xCZoIFjOOFCNom kkuU4qS6546B3IcmLK5bVO0XfLXvhdo//pdWSHW0ueU4Lj7bmzw0MOl1upnia8cbLPKe 6tO22lEbbuVqjmPEdUn61roHPZfM+jLVwtTJA= 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=XQ0jNvAaBP/Ca3oxCb/KKwFiZW2G7kMHnqR13IUmCarghLROQUYFnuL26ym2IakCAk zeob+SDo4yzubVXsGTxoNl3hPFIlARx4reZCxjfilHSFDNWjFS0h82bLy55BcDAq7raz S5hiKkr8umncmZ6rzkBjpMBctH7aSXoVy3iiw= Received: by 10.227.138.148 with SMTP id a20mr1406063wbu.91.1275125967502; Sat, 29 May 2010 02:39:27 -0700 (PDT) Received: from (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id y31sm23331502wby.22.2010.05.29.02.39.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 29 May 2010 02:39:22 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] rsync to a USB stick Date: Sat, 29 May 2010 10:39:19 +0100 User-Agent: KMail/1.12.4 (Linux/2.6.33-gentoo-r2; KDE/4.3.5; x86_64; ; ) References: <201005291001.50752.michaelkintzios@gmail.com> <201005291130.55189.alan.mckinnon@gmail.com> In-Reply-To: <201005291130.55189.alan.mckinnon@gmail.com> 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="nextPart2186673.Gl62e8dEnf"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201005291039.21296.michaelkintzios@gmail.com> X-Archives-Salt: fdbba39c-5bdc-4b35-ae67-934be9b1fc02 X-Archives-Hash: 49039bd202da7a8712a447eff3a8198a --nextPart2186673.Gl62e8dEnf Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Saturday 29 May 2010 10:30:54 Alan McKinnon wrote: > On Saturday 29 May 2010 11:01:39 Mick wrote: > > Hi All, > > > > I run: > > > > rsync -a -l --delete -v /mnt/Business_dir /media/sdf1 > > > > to back up a directory from a PC to a USB stick. However, from a curso= ry > > look this *seems* to copy the complete directory (every time I run it) > > and overwrites the USB stick. Carrying on like this it will life-expire > > the USB stick in no time, plus it takes ages to complete as it copies > > over every single file again and again. > > > > Is there a cleverer option I can add to rsync so that it only copies new > > files, overwrites older versions of the same and only deletes any files > > or directories that have been deleted from the source directory? >=20 > Arg, typo in previous post. I meant what filesystem is on the USB stick? =46AT32 Disk /dev/sdb: 8019 MB, 8019509248 bytes 20 heads, 16 sectors/track, 48947 cylinders Units =3D cylinders of 320 * 512 =3D 163840 bytes Disk identifier: 0xc3072e18 Device Boot Start End Blocks Id System /dev/sdb1 * 1 48948 7831512 c W95 FAT32 (LBA) =2D-=20 Regards, Mick --nextPart2186673.Gl62e8dEnf Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEABECAAYFAkwA4MkACgkQVTDTR3kpaLY2KACfWFdfuEQx3PHcc1WahNxTGucv HJ8AoIdjFF1JIkUcmPHQegeCYV73MSDU =gWLG -----END PGP SIGNATURE----- --nextPart2186673.Gl62e8dEnf--