bin/swap

8 lines
69 B
Bash
Executable File

#!/bin/sh
tmp=$(mktemp)
mv "$1" "$tmp"
mv "$2" "$1"
mv "$tmp" "$2"