mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-26 13:18:35 -06:00
9 lines
112 B
Text
Executable file
9 lines
112 B
Text
Executable file
# This simply makes a backup of a file as filename.bak
|
|
|
|
#!/bin/bash
|
|
|
|
if [[ -n "$1" ]];
|
|
then
|
|
cp "$1"{,.bak}
|
|
fi
|
|
|