Speed up creating a backup file or a copy of a file in the same folder
cp /foo/bar/muh/bar/maeh.txt /foo/bar/muh/bar/maeh.txt.bkp
Published in
1 min readMay 20, 2018
CP FTW:
cp /root/aFile.txt /root/aFile.txt.bkp
The write-less-mode with the usage of the (bash) brace expansion:
cp /root/aFile.txt{,.bkp}
Written with ♥️ in 🇦🇹