1 |
On Saturday 29 May 2010 11:01:39 Mick wrote: |
2 |
> Hi All, |
3 |
> |
4 |
> I run: |
5 |
> |
6 |
> rsync -a -l --delete -v /mnt/Business_dir /media/sdf1 |
7 |
> |
8 |
> to back up a directory from a PC to a USB stick. However, from a cursory |
9 |
> look this *seems* to copy the complete directory (every time I run it) and |
10 |
> overwrites the USB stick. Carrying on like this it will life-expire the |
11 |
> USB stick in no time, plus it takes ages to complete as it copies over |
12 |
> every single file again and again. |
13 |
> |
14 |
> Is there a cleverer option I can add to rsync so that it only copies new |
15 |
> files, overwrites older versions of the same and only deletes any files or |
16 |
> directories that have been deleted from the source directory? |
17 |
|
18 |
|
19 |
Arg, typo in previous post. I meant what filesystem is on the USB stick? |
20 |
|
21 |
|
22 |
-- |
23 |
alan dot mckinnon at gmail dot com |