1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2024-12-26 13:18:35 -06:00
random/makebk
2022-01-15 02:11:25 -06:00

8 lines
109 B
Bash

#!/bin/sh
# This simply makes a backup of a file as filename.bak
if [[ -n "$1" ]];
then
cp "$1"{,.bak}
fi