Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Cc: Mick <michaelkintzios@×××××.com>
Subject: Re: [gentoo-user] rsync to a USB stick
Date: Sat, 29 May 2010 19:05:57
Message-Id: 201005292102.34386.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] rsync to a USB stick by Mick
1 On Saturday 29 May 2010 11:39:19 Mick wrote:
2 > On Saturday 29 May 2010 10:30:54 Alan McKinnon wrote:
3 > > On Saturday 29 May 2010 11:01:39 Mick wrote:
4 > > > Hi All,
5 > > >
6 > > > I run:
7 > > > rsync -a -l --delete -v /mnt/Business_dir /media/sdf1
8 > > >
9 > > > to back up a directory from a PC to a USB stick. However, from a
10 > > > cursory look this *seems* to copy the complete directory (every time I
11 > > > run it) and overwrites the USB stick. Carrying on like this it will
12 > > > life-expire the USB stick in no time, plus it takes ages to complete
13 > > > as it copies over every single file again and again.
14 > > >
15 > > > Is there a cleverer option I can add to rsync so that it only copies
16 > > > new files, overwrites older versions of the same and only deletes any
17 > > > files or directories that have been deleted from the source directory?
18 > >
19 > > Arg, typo in previous post. I meant what filesystem is on the USB stick?
20 >
21 > FAT32
22 >
23 > Disk /dev/sdb: 8019 MB, 8019509248 bytes
24 > 20 heads, 16 sectors/track, 48947 cylinders
25 > Units = cylinders of 320 * 512 = 163840 bytes
26 > Disk identifier: 0xc3072e18
27 >
28 > Device Boot Start End Blocks Id System
29 > /dev/sdb1 * 1 48948 7831512 c W95 FAT32 (LBA)
30
31 Can you reformat to the same filesystem as the source disk and see if that
32 makes a difference?
33
34
35 --
36 alan dot mckinnon at gmail dot com