1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash if [ $# -le 0 ]; then echo "usage: $(basename 0) <packagename> [<packagename> [<packagename ...]]" exit 0 fi for pkg in $@; do echo "==> Moving package '$pkg'" $(dirname $0)/db-move "$pkg" "testing" "core" "any" done