diff --git a/do-plication b/do-plication index c780c72..cdbeb8c 100644 --- a/do-plication +++ b/do-plication @@ -21,6 +21,8 @@ case "$1" in # overwrite the tape from the begining -a) sudo screen -dmS do-plication mt -f /dev/nst0 eod; + sudo mt -f /dev/nst0 status; + echo "your arcive will be the file number + 1" sudo screen -dmS do-plication tar -cvf /dev/nst0 "$2" true ;; @@ -33,6 +35,7 @@ case "$1" in -f) sudo screen -dmS do-plication mt -f /dev/nst0 asf "$2"; + echo "your arcive wil be $2"; sudo screen -dmS do-plication tar -cvf /dev/nst0 "$3" true ;;