From 1fe157e84d407be36f85ed61e4ecce6a93e890bb Mon Sep 17 00:00:00 2001 From: erik Date: Tue, 5 Jan 2021 23:10:56 +0000 Subject: [PATCH] cleard up some file numbers --- do-plication | 3 +++ 1 file changed, 3 insertions(+) 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 ;;