14 lines
240 B
Plaintext
14 lines
240 B
Plaintext
.key src/a,dst/a
|
|
; cmove
|
|
; copy $1 to $2, if $1 exists
|
|
if exists <src>
|
|
; echo "<src>-><dst>"
|
|
copy <src> <dst> clone
|
|
else
|
|
if not exists <dst>
|
|
echo "CAUTION: <dst> DOES NOT EXIST!"
|
|
else
|
|
echo "Warning: no source for <dst>"
|
|
endif
|
|
endif
|