1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2024-12-26 21:18:36 -06:00
random/makebk

10 lines
110 B
Text
Raw Normal View History

2021-04-19 13:54:49 -05:00
# This simply makes a backup of a file as filename.bak
2021-12-28 02:54:26 -06:00
#!/bin/sh
2021-04-19 13:54:49 -05:00
if [[ -n "$1" ]];
then
cp "$1"{,.bak}
fi