Swap names of two files (by renaming first to a temporary file)

file.swap(f1, f2)

Arguments

f1, f2

Paths to files

Value

logical indicating success

See also

Author

jefferis