1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2025-02-05 14:12:38 -06:00
random/makebk

9 lines
112 B
Text

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