replace foil script
This commit is contained in:
parent
104b9b6e96
commit
d9bb463be9
13
scripts/replace.sh
Executable file
13
scripts/replace.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# This script replaces a normal card with a foil card I needed this because the
|
||||||
|
# tracking of foils was only added in version 3.5.0 of serra
|
||||||
|
|
||||||
|
# give set code as $1 like "dmr"
|
||||||
|
: ${1:?}
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
read -p "$1> " card
|
||||||
|
serra add --foil ${1}/${card}
|
||||||
|
serra remove ${1}/${card}
|
||||||
|
done
|
||||||
Loading…
x
Reference in New Issue
Block a user