cleard up some file numbers
This commit is contained in:
parent
307067d5f5
commit
1fe157e84d
@ -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
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user