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 1OIRM5-0002wZ-1W for garchives@archives.gentoo.org; Sat, 29 May 2010 19:05:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F396E0BF2; Sat, 29 May 2010 19:05:48 +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 47635E0BF2 for ; Sat, 29 May 2010 19:05:48 +0000 (UTC) Received: by wwc33 with SMTP id 33so95079wwc.40 for ; Sat, 29 May 2010 12:05:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=f/8QBSt8woYxD3s/gd0hWASb//ZawOWO4UB5mp/B3lI=; b=L/A+pDrPbnuF8z5KFQZhYM6+8UODyVjJ1g7OXGAsNfS5SBKS4gzc32VnjWy43Otd7A iCKmvzD4VyFNB1cvgwfDDNIQZMgRVWTYDCGTCrC5q8VU2tCOqsphBIRd6mSId/8rni60 u5Mb4siGjNTxEc8yqFQuHlmmvTjfhJYBDPV6M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=lb3f0U+EgYBV2Dj0oyq+PraQ06jU7OiNxPxO2jruk0e3rKA4I5avHZ5fLyFB7AMuri 4/9FxTutAdPP6CwLE/f6vjJ85N3WvRg8D3YBDgUHI7kJf2/0JA1GKAOw+bO9KkRxWbgo XXM7ivdolRhvXvPfxL8xdDP1elP+539UApLHo= Received: by 10.227.146.210 with SMTP id i18mr1974094wbv.41.1275159947723; Sat, 29 May 2010 12:05:47 -0700 (PDT) Received: from nazgul.localnet (196-210-183-217-wbs-esr-2.dynamic.isadsl.co.za [196.210.183.217]) by mx.google.com with ESMTPS id h22sm26660102wbh.9.2010.05.29.12.05.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 29 May 2010 12:05:46 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] rsync to a USB stick Date: Sat, 29 May 2010 21:02:34 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.34-ck; KDE/4.4.3; x86_64; ; ) Cc: Mick References: <201005291001.50752.michaelkintzios@gmail.com> <201005291130.55189.alan.mckinnon@gmail.com> <201005291039.21296.michaelkintzios@gmail.com> In-Reply-To: <201005291039.21296.michaelkintzios@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: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201005292102.34386.alan.mckinnon@gmail.com> X-Archives-Salt: c939f427-b636-43e8-9c9b-73583cf004d8 X-Archives-Hash: 2149e0e53e6722f773f9a0c93cd3b417 On Saturday 29 May 2010 11:39:19 Mick wrote: > 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 > > > cursory 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? > > > > Arg, typo in previous post. I meant what filesystem is on the USB stick? > > FAT32 > > Disk /dev/sdb: 8019 MB, 8019509248 bytes > 20 heads, 16 sectors/track, 48947 cylinders > Units = cylinders of 320 * 512 = 163840 bytes > Disk identifier: 0xc3072e18 > > Device Boot Start End Blocks Id System > /dev/sdb1 * 1 48948 7831512 c W95 FAT32 (LBA) Can you reformat to the same filesystem as the source disk and see if that makes a difference? -- alan dot mckinnon at gmail dot com