‹ BackHN Continuity

Thread

cp: -r or -R?

125 points · 107 comments · zdw

  1. throwaway2046 · · focus · HN ↗
    I'm more inclined to use the uppercase -R as it's standardized by POSIX and will generally behave the same on any POSIX compliant system.
    1. WhyNotHugo · · focus · HN ↗
      It's also the only option shown in the -h output and in man pages for some versions of cp.

      I didn't even know -r was a thing until today.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.