exch1
Atomically exchanges paths between two files
Usage
exch oldpath
newpath
Overview
exch atomically exchanges oldpath and newpath. exch is a simple command wrapping RENAME_EXCHANGE of renameat2 system call.
Options
-
-h, --help -
Display help text and exit.
-
-V, --version -
Display version and exit.
Exit status
exch has the following exit status values:
0
success
1
unspecified failure
Releases
2 releases since Debian 13 (Trixie); the text changed 1 time.