<div dir="ltr"><div>Hello!</div><div><br></div><div>I have external HDD for backups, but under Windows it may get different drive letter on different computers, so I would like to use relative path instead of full path like ../Backup instead of /cygdrive/g/Backup</div><div><br></div><div>In this case I have in the root folder of the drive 2 folders:</div><div>cygwin-rsync - here rsync and bat-scripts for backup all needed modules<br></div><div>Backup - here where all backup files should be stored</div><div><br></div><div>So when I connect the drive, I go to the folder cygwin-rsync and run there backup.bat...</div><div>it contains a command like this:</div><div>bin\rsync.exe -vvrlth --progress --delete-before --password-file password.txt user@myhost.com::Module1 ../Backup/Module1<br></div><div>This should works (destination folder is one folder up and then Backup folder, etc), but instead it says that:<br>rsync: mkdir "/../Backup/Module1" failed: No such file or directory (2)<br></div><div>I don't understand why it adds a slash "/" at the beginning of the destination path?</div><div>Is it a bug or I'm doing something wrong? Thank You very much.</div><div><br></div><div>Here is the full log:</div>g:\cygwin-rsync>bin\rsync.exe -vvrlth --progress --delete-before --password-file password.txt user@myhost.com::Module1 ../Backup/Module1<br>opening tcp connection to <a href="http://myhost.com">myhost.com</a> port 873<br>sending daemon args: --server --sender -vvltre.LsfxC . Module1/  (5 args)<br>receiving file list ...<br>3310 files to consider<br>rsync: mkdir "/../Backup/Module1" failed: No such file or directory (2)<br>rsync error: error in file IO (code 11) at main.c(675) [Receiver=3.1.2]<br></div>