Timeline for Linux command line. Move all files and directories in directory, except some files and directories
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 9, 2014 at 15:40 | comment | added | mikeserv |
@Brandin - the shell has no involvement in whether or not that is an atomic operation or not. mv unlinks and renames when not crossing devs - it just affects dentries, basically, as i understand it. But the shell doesnt get into that.
|
|
| Sep 9, 2014 at 15:26 | comment | added | Brandin | Not aware of any shell which guarantees this to truly be atomic. However it should be "really really fast" if its on the same fs. EDIT - that is each mv may be atomic if on the same fs but the entire mv is not atomic | |
| Sep 9, 2014 at 15:06 | history | answered | mikeserv | CC BY-SA 3.0 |