Mick <michaelkintz...@gmail.com> [10-05-29 11:12]: > 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
Hi, this is really a shot in the dark, but... Would it possible, that the USB-stick is carrying a filesystem, which lacks the support of enough ijnformations, rsync needs to operate corrrectly (especially: file times? Concerning the wear out of usb-sticks (and flash media in general): There are specialised filesystems out there (dont remember what exactly their names were), which take care of a "flashy" environment (spread writes to different parts each time), HTH! Best regards, mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.