Why does mv not need -r to work with directories but rm and cp do

Subscribers:
4,140
Published on ● Video Link: https://www.youtube.com/watch?v=XLUC0BWkmYY



Duration: 3:15
0 views
0


Why does mv not need -r to work with directories but rm and cp do
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(superuser.com/users/1741336/alwaysconfused27938)alwaysconfused27938 |
(superuser.com/users/512106/robert-longson)Robert Longson |
(superuser.com/users/1741421/anon)Anon |
A special thanks goes out to the (https://superuser.com/questions/1749025/why-does-mv-not-need-r-to-work-with-directories-but-rm-and-cp-do)Stackexchange community |

I wish you all a wonderful day! Stay safe :)







Tags:
command-line
linux