REPORTED BY: Michael Brennen
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3254
91ce42f0-d328-0410-95d8-
f526ca767f89
debug "Doing mtx -f $ctl -- to list volumes"
make_temp_file
# Enable the following if you are using barcodes and need an inventory
-# $(MTX) -f $ctl inventory
+# ${MTX} -f $ctl inventory
${MTX} -f $ctl status >${TMPFILE}
rtn=$?
cat ${TMPFILE} | grep " *Storage Element [0-9]*:.*Full" | awk "{print \$3 \$4}" | sed "s/Full *\(:VolumeTag=\)*//"