to change retention
bpimmedia -l -mediaid P00113 | egrep -v NULL
bpexpdate -recalculate -backupid imageidfromabovelist -ret 4 -sched 0 -force
to list only images on a volume
bpimmedia -l -mediaid P00054 | egrep -v NULL | awk '{print $4}'
get a list of tapes by date
bpimagelist -media -U -d 12/01/2006 12:12:12 -e 12/04/2006 12:12:12 -M gretzky | awk '{print $1}' >> tapes