cleard up some file numbers

This commit is contained in:
Erik Foris 2021-01-05 23:10:56 +00:00
parent 307067d5f5
commit 1fe157e84d

View File

@ -21,6 +21,8 @@ case "$1" in
# overwrite the tape from the begining # overwrite the tape from the begining
-a) -a)
sudo screen -dmS do-plication mt -f /dev/nst0 eod; 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" sudo screen -dmS do-plication tar -cvf /dev/nst0 "$2"
true true
;; ;;
@ -33,6 +35,7 @@ case "$1" in
-f) -f)
sudo screen -dmS do-plication mt -f /dev/nst0 asf "$2"; 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" sudo screen -dmS do-plication tar -cvf /dev/nst0 "$3"
true true
;; ;;