Program: MTCOPY Purpose: Copies selected files from one tape device to another tape device. Tape device can be a real tape unit or a directory on disk. Category: TAPES, UTILITY File: mtcopy.c Author: K.G. Begeman Keywords: INTAPE= Input tape device [list of all devices] Name of tape device where to copy files from. The list is extracted from the local file $gip_loc/mtdevices. If your tape is not in the list, you can enter the full device specification, e.g. INTAPE=/dev/rmt/0mn OUTTAPE= Output tape device [list of all devices] Name of tape device where to copy files to. See also at INTAPE= INFILES= Files on input tape device which should be copied [all files] When the default is used, files are copied from the input tape until an empty file is found (two subsequent tape marks). Note that filenumber zero indicates the current file, file number 1 the next file and file number -1 the previous file. SKIP= Number of files to skip on OUTTAPE [SKIP to End of Info] The first input file will be stored at this location, the second at the next location etc. Note that for new (empty) tapes you should give SKIP=0. INREWIND= Rewind INTAPE after copying [YES] OUTREWIND= Rewind OUTTAPE after copying [NO] If NO, the outtape will be positioned between the last two tapemarks, so that you can easily add other files. ** REBLOCK= New blocking factor on output tape device. If the last block of a file is not completely filled, it will be padded with zeroes [blocking as on input tape device]. Updates: Apr 24, 1990: KGB, Document created. Feb 8, 1993: KGB, Skip till EOI implemented. Oct 26, 1993: KGB, Keyword INREWIND= added. Feb 23, 2001: VOG, Small changes in documentation.