Thomas Kratz schrieb am Sonntag, 12. Januar 2003 um 12:33:04 +0100: > ich möchte mit tar -cvMf ein Backup auf einen Dat-Wechsler sichern. Das ganze > soll per Skript laufen. Mit mtx das Band zu wechseln ist ja kein Problem, > aber wie schicke ich von dem Skript das den Wechsler bedient ein Return an > den tar-Prozess?
Hi! Gar nicht nötig: aus `info tar "Using Multiple Volumes"`: If you want more elaborate behavior than this, give `tar' the `--info-script=SCRIPT-NAME' (`--new-volume-script=SCRIPT-NAME', `-F SCRIPT-NAME') option. The file SCRIPT-NAME is expected to be a program (or shell script) to be run instead of the normal prompting procedure. If the program fails, `tar' exits; otherwise, `tar' begins writing the next volume. The behavior of the `n' response to the normal tape-change prompt is not available if you use `--info-script=SCRIPT-NAME' (`--new-volume-script=SCRIPT-NAME', `-F SCRIPT-NAME'). -- Heute ist nicht alle Tage, ich komm' wieder, keine Frage!!! Joerg If the government doesn't trust the people, why doesn't it dissolve them and elect a new people? -- Häufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)