public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joshua Murphy <poisonbl@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] rsync to a USB stick
Date: Sat, 29 May 2010 15:23:01 -0400	[thread overview]
Message-ID: <AANLkTikVMBrLsxCu0IrXrTdCBi7gTJW6Koj5ZS0wJLuG@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimXk50aEcKf8hDFn6R9HsMDRD4ooj1Jb2bKWxY4@mail.gmail.com>

On Sat, May 29, 2010 at 5:39 AM, Steven <apartment415@gmail.com> wrote:
>
>
> On Sat, May 29, 2010 at 2:01 AM, Mick <michaelkintzios@gmail.com> 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.
>

Notably...
--checksum
--recursive

And *not* using (due to the limitations of FAT and FAT32)...
--archive (implies several others)
--perms
--times
--group
--owner
--whole-file

-- 
Poison [BLX]
Joshua M. Murphy



  reply	other threads:[~2010-05-29 19:23 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-29  9:01 [gentoo-user] rsync to a USB stick Mick
2010-05-29  9:20 ` meino.cramer
2010-05-29  9:30 ` Alan McKinnon
2010-05-29  9:30 ` Alan McKinnon
2010-05-29  9:39   ` Mick
2010-05-29 19:02     ` Alan McKinnon
2010-05-29  9:39 ` Steven
2010-05-29 19:23   ` Joshua Murphy [this message]
2010-05-29  9:49 ` Peter Ruskin
2010-05-29 10:34 ` [gentoo-user] " Remy Blank
2010-05-29 11:42   ` Mick
2010-05-29 11:59 ` [gentoo-user] " David Relson
2010-05-30 10:48   ` Neil Bothwick
2010-05-30 12:06     ` David Relson
2010-05-30 14:20     ` [gentoo-user] " Grant Edwards
2010-05-31  2:26       ` David Relson
2010-05-31  8:09       ` Neil Bothwick
2010-05-31 16:27         ` Grant Edwards

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikVMBrLsxCu0IrXrTdCBi7gTJW6Koj5ZS0wJLuG@mail.gmail.com \
    --to=poisonbl@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox