On Tuesday 08 July 2008 05:04:12 am Dave Howorth wrote:
Bob S wrote:
1 When I backup a direcory (home for instance) rsync copies everything UNDER that folder. How can I make it keep the title directory? "home"
Thanks for replying Sudhir, Sampsa, Dave
You will often get better answers if you provide more detailed information. In this case, it would be useful to know the exact command you are currently using, because without it we have to guess what your problem is.
If you read the rsync man page carefully, you will see that there is a difference between:
That is the keyword, carefully intently, and confusing.
rsync -a foo:src/bar/ /data/tmp
and
rsync -a foo:src/bar /data/tmp
that results in exactly the difference you want. Perhaps this is the source of your problem?
Yes, I now see the difference. Thanks. I will try it later. Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org