1 |
On Saturday 29 May 2010 10:30:54 Alan McKinnon wrote: |
2 |
> On Saturday 29 May 2010 11:01:39 Mick wrote: |
3 |
> > Hi All, |
4 |
> > |
5 |
> > I run: |
6 |
> > |
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 cursory |
10 |
> > look this *seems* to copy the complete directory (every time I run it) |
11 |
> > and overwrites the USB stick. Carrying on like this it will life-expire |
12 |
> > the USB stick in no time, plus it takes ages to complete as it copies |
13 |
> > over every single file again and again. |
14 |
> > |
15 |
> > Is there a cleverer option I can add to rsync so that it only copies new |
16 |
> > files, overwrites older versions of the same and only deletes any files |
17 |
> > 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 |
Regards, |
32 |
Mick |