From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] rsync to a USB stick
Date: Sat, 29 May 2010 11:30:14 +0200 [thread overview]
Message-ID: <201005291130.14417.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <201005291001.50752.michaelkintzios@gmail.com>
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?
What filesystem is on the disk?
If it's FAT, rsync will not benefit as FAT does not have any notion of the
metadata that is on the PCs disk
--
alan dot mckinnon at gmail dot com
next prev parent reply other threads:[~2010-05-29 10:08 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 [this message]
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=201005291130.14417.alan.mckinnon@gmail.com \
--to=alan.mckinnon@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