Skip to content

Commit

Permalink
replace foil script
Browse files Browse the repository at this point in the history
  • Loading branch information
noqqe committed Apr 27, 2023
1 parent 104b9b6 commit d9bb463
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions scripts/replace.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d9bb463

Please sign in to comment.