add function cporig

cporig makes a copy of a file $FILENAME and names ist $FILENAME.orig
This commit is contained in:
Jakobus Schürz 2021-09-10 13:58:40 +02:00
parent cd0c0b27dd
commit ab7e47c57a

View file

@ -996,5 +996,11 @@ convert_to_subvolume () {
set +x
return 0
}
cporig () {
cp -b -i "${1}" "${1}.orig"
}
#EOF