On Saturday 29 May 2010 11:39:19 Mick wrote: > On Saturday 29 May 2010 10:30:54 Alan McKinnon wrote: > > 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? > > > > Arg, typo in previous post. I meant what filesystem is on the USB stick? > > FAT32 > > Disk /dev/sdb: 8019 MB, 8019509248 bytes > 20 heads, 16 sectors/track, 48947 cylinders > Units = cylinders of 320 * 512 = 163840 bytes > Disk identifier: 0xc3072e18 > > Device Boot Start End Blocks Id System > /dev/sdb1 * 1 48948 7831512 c W95 FAT32 (LBA)
Can you reformat to the same filesystem as the source disk and see if that makes a difference? -- alan dot mckinnon at gmail dot com