‹ BackHN Continuity

Thread

cp: -r or -R?

126 points · 110 comments · zdw

  1. 5555watch · · focus · HN ↗
    On a somewhat related note, I really hate that in scp -r and -R mean entirely different things.
    1. pluc · · focus · HN ↗
      The worst is when things behave different when you give them `~/somedir` vs `~/somedir/`. I think it's rsync that does that
      1. mjmas · · focus · HN ↗
        rsync, or at least the version I had would behave differently for 'rsync a b' vs 'rsync a/ b/', even though I added the slash for both sides.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.