Sebastian Kösters wrote:
Now i only need to know how to make it automaticly ;)
You still need to manually insert the tape, manually
write/print and stick a label on the tape, and manually put
the tape in the box of course.
Labelling has to be done only once. :-)
#!/bin/sh
# datelabel: label new tape with datestamp of today
label=ARCH-`date '+%Y-%b-%d'`
echo "Labeling a new tape with $label? Y/N
read ans
case $ans in
[yYjJ]*) amlabel archive $label ;;
esac
--
Paul Bijnens, Xplanation Tel +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512
http://www.xplanation.com/ email: [EMAIL PROTECTED]
***********************************************************************
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************