Re: --delete not working (minimal example)

2009-07-14 Thread Nobuko Three
My God How did I miss that? Also, it turned out my original problem was that I passed -delete instead of --delete. I played too much with mencoder recently which uses single - for both short and long options. Paul Slootman-5 wrote: > > On Tue 14 Jul 2009, Nobuko Three wrote: > &g

--delete not working (minimal example)

2009-07-14 Thread Nobuko Three
--delete option is not working for me. The following is a minimal example. $ mkdir box1 box2 $ touch box1/letter box2/extra $ rsync -a -vv box1/ box2/ sending incremental file list delta-transmission disabled for local transfer or --whole-file letter total: matches=0 hash_hits=0 false_alarms=0

Difference between rsync -r S1 S2 T and cp -r S1 S2 T

2009-06-02 Thread Nobuko Three
The manual says rsync can be used as an improved cp command. If S1 and S2 are (local) source files or directories and T is an (local) existing directory, is it safe to think that $ rsync -r S1 S2 T does the same thing as $ cp -r S1 S2 T , assuming no trailing slashes in S1, S2? -- View this mes