ittwoch, 29. Oktober 2003 13:33
> An: [EMAIL PROTECTED]
> Betreff: trying to figure out how the --delete option works.
>
>
> I use this comand to back up my entirely drive to a second drive. Because
> the second drive is smaller I have excluded my movies directory. I also
> excl
I use -a
from the man:
âa, ââarchive archive mode, equivalent to ârlptgoD
u se, the -r for --recursive is there
I also use -v
-v as for --verbose
so I have that covered.
I have now experiemented with some tmp-files in my homedir and it works
flawlessly.
rsync -av --exclude "/**/movi
> "This option has no effect if directory recursion is
> not
> selected."
> (I really dont know what this means. Perhaps this is where
> my
> comand fails?)
from the man:
--recursive
This tells rsync to copy directories recursively
Thank you for your answer, but i'ts not about the excluded files. Sorry if I
was unclear about that.
This is what the man rsync says about the delete option:
"--delete This tells rsync to delete any files on the receiving side that
arenÂt on the sending side."
(T
Add this:
--delete-excluded
See the manual.
Rainer
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von
Mandrake Pe
Gesendet: Mittwoch, 29. Oktober 2003 13:33
An: [EMAIL PROTECTED]
Betreff: trying to figure out how the --delete option works.
I use
I use this comand to back up my entirely drive to a second drive. Because the
second drive is smaller I have excluded my movies directory. I also excluded
the /mnt/ diectory, becous I dont want to back up the backup. This part works
just fine.
It's the --delete option I cant get to work. I want