add function cporig
cporig makes a copy of a file $FILENAME and names ist $FILENAME.orig
This commit is contained in:
parent
cd0c0b27dd
commit
ab7e47c57a
1 changed files with 6 additions and 0 deletions
|
@ -996,5 +996,11 @@ convert_to_subvolume () {
|
|||
set +x
|
||||
return 0
|
||||
|
||||
}
|
||||
|
||||
cporig () {
|
||||
|
||||
cp -b -i "${1}" "${1}.orig"
|
||||
|
||||
}
|
||||
#EOF
|
||||
|
|
Loading…
Reference in a new issue