‹ BackHN Continuity

Thread

cp: -r or -R?

126 points · 110 comments · zdw

  1. spijdar · · focus · HN ↗
    > nobody™ still runs coreutils from 24 years ago.

      Sprite 2.077 pc386
      
              Welcome to Sprite
      
      root@cherimoya [1] # cp --version
      GNU fileutils 3.9
      root@cherimoya [2] # cp --help | grep recurs
        -r                           copy recursively, non-directories as files
        -R, --recursive              copy directories recursively
      root@cherimoya [3] #
    
    I'll take the honorary title of nobody ;-)
    1. kijin · · focus · HN ↗
      You should have run that command as the `nobody` user.
      1. tosti · · focus · HN ↗
        But nobody doesn't have a valid shell.
        1. kijin · · focus · HN ↗
          Nothing you can't fix if you have root. :)
          1. laxd · · focus · HN ↗
            Use toor for good measure.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.