public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] rsync to a USB stick
Date: Sat, 29 May 2010 10:01:39 +0100	[thread overview]
Message-ID: <201005291001.50752.michaelkintzios@gmail.com> (raw)

[-- Attachment #1: Type: Text/Plain, Size: 654 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

             reply	other threads:[~2010-05-29  9:10 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-29  9:01 Mick [this message]
2010-05-29  9:20 ` [gentoo-user] rsync to a USB stick 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
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=201005291001.50752.michaelkintzios@gmail.com \
    --to=michaelkintzios@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