Timeline for Using rsync to move (not copy) files between directories?
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 17, 2022 at 9:19 | comment | added | Mauro Molinari | rsync can though preserve hard links within moved contents, if you ask it to do, while mv cannot. | |
| Oct 7, 2018 at 5:30 | comment | added | Sridhar Sarnobat | One time I need rsync rather than mv is when I want to preserve the folder structure (if you use --relative). | |
| May 30, 2018 at 23:30 | comment | added | nomen | 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. | |
| Apr 13, 2017 at 12:37 | history | edited | CommunityBot | replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/ | |
| Feb 15, 2014 at 21:39 | history | answered | Caleb | CC BY-SA 3.0 |