Function moveoutoftheway

This commit is contained in:
The WDS Importer 2015-07-21 13:48:01 +02:00
parent 8f8d15505b
commit 1199b46e84
1 changed files with 4 additions and 0 deletions

4
.zshrc
View File

@ -57,6 +57,10 @@ harden(){
cp -p "$1" .harden.$$ && mv .harden.$$ "$1" cp -p "$1" .harden.$$ && mv .harden.$$ "$1"
} }
moveoutoftheway(){
mv "$1" "$1".old
}
dup(){ dup(){
mv $1 $1.orig && cp -p $1.orig $1 mv $1 $1.orig && cp -p $1.orig $1
} }