Results 1 to 2 of 2
Hi everyone, and thanks to all for your assistance.
I have a problem with the rsync command. I want to make a backup of a " source " directory in ...
- 03-20-2010 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 1
[BASH] rsync - absolute destination path
Hi everyone, and thanks to all for your assistance.
I have a problem with the rsync command. I want to make a backup of a "source" directory in a "destination" directory.
I want to specify:
- "absolute path of destination" ==> example: ~/Destination [I give it in the terminal];
Then I want the rsync will make the Backup in: ~/Destination;
I have a problem when I use an "absolute path": my rsync will try to backup in $PATH/Destination (and not in $Destination).
Question: How can I remedy the concatenation of $destination after $PATH ???
Thank you so much ... I hope you'll help me, please.
- 03-20-2010 #2
Hmm, you do not show your rsyncd.conf,
nor the rsync command you use.
It is also unclear if either source or destination are on a remote computer
But a
rsync -av /source/* /destination/
should do the trick locally.You must always face the curtain with a bow.


Reply With Quote