| EXCH(1) | User Commands | EXCH(1) |
exch - atomically exchanges paths between two files
exch oldpath newpath
exch atomically exchanges oldpath and newpath. exch is a simple command wrapping RENAME_EXCHANGE of renameat2 system call.
-h, --help
-V, --version
exch has the following exit status values:
0
1
Masatake YAMATO <yamato@redhat.com>
For bug reports, use the issue tracker <https://github.com/util-linux/util-linux/issues>.
The exch command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.
| 2025-02-26 | util-linux 2.41 |