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
|
||||
-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
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user