Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rsync failure for symlinks #1257

Open
angelog0 opened this issue May 18, 2018 · 1 comment
Open

Rsync failure for symlinks #1257

angelog0 opened this issue May 18, 2018 · 1 comment

Comments

@angelog0
Copy link

Just for completeness...

rsync suffers the same issue described for tar in #1216.

If bar is an empty directory and foo contains symlinks then

rsync -av foo/ bar/

produces errors like:

rsync: symlink "/home/utente/foo/classic-tesi/bibliografia.bib" -> "../bibstyles/bibliography.bib" failed: No such file or directory (2)

One has to repeat rsync -av foo/ bar/ to transfer also the symlinks...

So, in WSL (Windows SubSystem for Linux) I created a symlink to foo,

foo -> /mnt/c/msys64/home/utente/foo

and here rsync -av foo/ bar/ works without errors... copyinf also the symlinks in a one step!

@canfoderiskii
Copy link

Found the same problem. And I tried WSL as well, rsync in WSL creates soft links correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants