Rename File1 as File2. The semantics is compatible
to the POSIX semantics of the rename() system call as far as the
operating system allows. Notably, if File2 exists, the
operation succeeds (except for possible permission errors) and is atomic
(meaning there is no window where File2 does not exist).
Tag confusing pages with doc-needs-help|Tags are associated to your profile if you are logged in