Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 13
    I'd say this is a huge advantage. In fact, I'd say mv is only better if the target and source are in the same partition, so that mv only edits the file's metadata instead of doing a copy. Commented May 30, 2018 at 23:30
  • 3
    One time I need rsync rather than mv is when I want to preserve the folder structure (if you use --relative). Commented Oct 7, 2018 at 5:30
  • 2
    rsync can though preserve hard links within moved contents, if you ask it to do, while mv cannot. Commented Jan 17, 2022 at 9:19