0
cp
, scp
, rm
and other command needs to the -r
flag to perform an action on a directory, compared to just a file.
can't copy a directory because WHOOPS you forgot the -r flag
I don't feel this is relevant anymore. these programs should just be written to conditionally alias the old command. if d
then its a directory and do the recursive directory moving command
Is there another reason why this should not be the default? Some other combination of flags that make you need the -r
flag or else it won't work?