💾 Archived View for idiomdrottning.org › rsync-paths captured on 2023-11-04 at 11:34:27. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-07-10)

-=-=-=-=-=-=-

Trailing slashes on rsync paths

With rsync,

The reason I bring this up is that I was taught that with rsync I should just be mindful of the traling slashes matching or not. But that’s not right. It’s the first path’s last character that matters. The dest path’s last character doesn’t seem to matter.

I.e. I was taught that:

This post is based on me futzing around for five minutes with rsync 3.2.7 on zsh 5.9. Corrections welcome.

This is how it works: