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 1OIIW3-0000QK-V6 for garchives@archives.gentoo.org; Sat, 29 May 2010 09:39:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7ABBBE09EE; Sat, 29 May 2010 09:39:06 +0000 (UTC) Received: from mail-vw0-f53.google.com (mail-vw0-f53.google.com [209.85.212.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 53F6CE09EE for ; Sat, 29 May 2010 09:39:05 +0000 (UTC) Received: by vws8 with SMTP id 8so1081779vws.40 for ; Sat, 29 May 2010 02:39:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=FOhvOU8ffYizkAA8kmSRQ54Voq0QhxdFTpcfkescn4U=; b=Nj7GB7taUSCmgCoc2dno/GPY/tFNrgBtwXSdbzo90sbH4rTK59gfiMmTHKRMWUdNyJ yQbMmg4Y9JAfnLaQQAgZQ9oO8BZk25Hzdq9cZeCA0PjR3MdM0KOnPWT5ujM/PuNobuum z0fcKW1Afs7bUmocylXtjxVR6nubPuuy9SC3s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=d4zlJW7c9XMDXwiE8uXSJT5ryvJ42gYbthxp3aOcoxn6G/FLhwku0Nk34B3e8L5hM4 PM7W1EQPdC4U6+RJMdUVHHhEgTdLRWCqiXoTGVICIBtTA6ZHgWOGywamAX0hFP+4abMg m3Ka8NNmX9JAe6PjPLALH6GXfNhuiOyUULYqM= 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 Received: by 10.224.36.148 with SMTP id t20mr753187qad.229.1275125942053; Sat, 29 May 2010 02:39:02 -0700 (PDT) Received: by 10.229.46.1 with HTTP; Sat, 29 May 2010 02:39:02 -0700 (PDT) In-Reply-To: <201005291001.50752.michaelkintzios@gmail.com> References: <201005291001.50752.michaelkintzios@gmail.com> Date: Sat, 29 May 2010 02:39:02 -0700 Message-ID: Subject: Re: [gentoo-user] rsync to a USB stick From: Steven To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=00c09f99e488d1eae10487b86459 X-Archives-Salt: fac3aca1-f560-4cc5-a98e-f38915a95f0a X-Archives-Hash: 8dbe8caae47edf9c57d09f93004f32ad --00c09f99e488d1eae10487b86459 Content-Type: text/plain; charset=UTF-8 On Sat, May 29, 2010 at 2:01 AM, 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? > -- > Regards, > Mick > Short answer "man rsync" You'll find everything you need. It is possible to sync files incrementally with rsync I just can't remember how right now Sorry really tired right now. Im sure someone will come a long with a more appropriate answer. --00c09f99e488d1eae10487b86459 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Sat, May 29, 2010 at 2:01 AM, Mick <michaelkin= tzios@gmail.com> wrote:
Hi All,

I run:

=C2=A0rsync -a -l --delete -v /mnt/Business_dir /media/sdf1

to back up a directory from a PC to a USB stick. =C2=A0However, from a curs= ory look
this *seems* to copy the complete directory (every time I run it) and
overwrites the USB stick. =C2=A0Carrying on like this it will life-expire t= he 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<= br> directories that have been deleted from the source directory?
--
Regards,
Mick
Short answer "man rsync"
You'll = find everything you need.
It is possible to sync files incrementally wit= h rsync I just can't remember how right now
Sorry really tired right= now. Im sure someone will come a long with a more appropriate answer.
--00c09f99e488d1eae10487b86459--