public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] rsync to a USB stick
@ 2010-05-29  9:01 Mick
  2010-05-29  9:20 ` meino.cramer
                   ` (6 more replies)
  0 siblings, 7 replies; 18+ messages in thread
From: Mick @ 2010-05-29  9:01 UTC (permalink / raw
  To: gentoo-user

[-- 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 --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2010-05-31 16:29 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox