random/makebk
2021-12-28 02:54:26 -06:00

9 lines
110 B
Text

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