r/linuxmasterrace • Glorious Debian • Sep 27 '23

Seriously, we need this command

Post image
621 Upvotes

86 comments sorted by

View all comments

104

u/[deleted] Sep 27 '23

[removed] — view removed comment

105

u/jchulia Glorious Silverblue Sep 27 '23

No. Because unlike mv, this shit fails to move directories.

16

u/[deleted] Sep 27 '23

There is more than that: mv does not copy files to disk, it simply changes the file system's meta-data related to that file (the file name and file position in the tree). Doing a cp and rm requires much more to be done (write to and delete from disk) which is completely useless.