Цитата Сообщение от Andrey_Ak Посмотреть сообщение
- Ну можно списать целиком ленту на эл.диск, а с него уже ФМ на несколько дискет..
Под RT-11, если список файлов выводится командой DIR ( т.е. носитель поддерживается командой COPY ) - файлы элементарно копируются командой COPY, имеющей массу ( не всегда полезных ) опций:
Код:
.help copy 

COPY            Copies files

  SYNTAX
        COPY[/options] input-filespecs[/options] output-filespec[/option]

  SEMANTICS
        The COPY command accepts up to six input file specifications
        but only one output file specification. It accepts wild cards
        in place of file names or file types.

  OPTIONS
   ALLOCATE:size
        Reserves space for an output file
   ASCII
        Copies files in ASCII mode, ignoring nulls and rubouts
   BEFORE:[dd:mmm:yy]
        Copies files created before the specified date (default is
        system date)
   BINARY
        Copies files in formatted binary mode
   BOOT[:dd]
        Copies bootstrap information from a monitor file to the boot
        blocks of a random access device;  use the optional device name
        if you are creating a volume to boot on a different device
        (for example, using an RX02 to create a floppy bootable on an
        RX01)
   CONCATENATE
        Combines several input files into a single output file
   DATE[:dd:mmm:yy]
        Copies only files with specified date. If the date is omitted,
        the system date is used
   DELETE
        Deletes input file after it has been successfully copied        
   DEVICE
        Copies the image of a device to another device, block for block
   DOS
        Specifies that a file is in RSTS/E or DOS-11 format
   END:n
        Specifies the last block of the device being read; must be used
        with /DEVICE and /START:n
   EXCLUDE
        Copies all files on a device except the ones you specify
   FILES
        Copies a volume image to or from a file on another device;
        must be used with /DEVICE
   IGNORE
        Ignores I/O errors during a copy operation
   IMAGE        (default)
        Copies files byte for byte, regardless of their content
   INFORMATION
        Treats "file-not-found" errors as informational, not fatal
   INTERCHANGE:n
        Specifies that a diskette file is in interchange format; n is
        the record length in characters
   LOG
        Lists on the terminal the names of the files copied
   MULTIVOLUME
        Copies files to multiple output volumes
   NEWFILES
        Copies only those files dated with the current system date
   NOLOG
        Suppresses the terminal log of copied files
   NOPROTECTION
        Removes protection status on output files
   NOQUERY
        Does not require confirmation before copying each file
   NOREPLACE
        Does not perform the copy operation if a file with the same
        name as the output file already exists on the output device
   OWNER:[nnn,nnn]
        Specifies the UIC for a file in DOS-11 format
   PACKED
        Specifies word-for-word transfers for PDP-11 files, EBCDIC
        format for interchange diskette files, and packed image format
        for PDP-10 files.
   POSITION:n
        Controls rewind when you copy files to or from magtape or
        cassette
   PREDELETE
        Deletes any duplicate files on the output device before
        performing the copy operation
   PROTECTION
        Sets protection status on output files
   QUERY
        Requires user confirmation before copying each file
   REPLACE      (default)
        Deletes any duplicate files on the output device after the
        copy completes.
   RETAIN
        Used with /DEVICE to preserve output volume's bad block
        replacement table.
   SETDATE[:dd:mmm:yy]
        Sets the creation date of transferred files to the specified
        date. If the date is omitted, the system date is used
   SINCE[:dd:mmm:yy]
        Copies only files created on or after the specified date. If
        the date is omitted, the system date is used
   SLOWLY
        Transfers files one block at a time
   START:n
        Specifies the starting block number of the non-file structured
        volume being read or written; must be used with /DEVICE
   SYSTEM
        Copies .SYS files if wild cards are included in input filespec
   TOPS
        Specifies that the input file is on a DECsystem-10 formatted
        DECtape.
   VERIFY
        Reads, writes, and then rereads and compares the input and output
        transfers
   WAIT
        Waits for user response before starting the copy operation;
        must be used when the system volume is replaced with a data
        volume

  EXAMPLES
        COPY/SYS MT:*.* VM:
        COPY A.FOR DX1:B.FOR
        COPY/BOOT RK1:RT11SJ RK1:
        COPY A.FOR+B.FOR C.FOR
        COPY A%B.MAC DX0:*.MAC
        COPY/ASCII MTA1.FOR DT1:TEST.FOR/ALLOCATE:50
        COPY/SINCE:1:JAN:84 *.MAC *.JAN
Если скопировать все файлы с ленты на диск DK: большой ёмкости, то для последующего их копирования на несколько дискет MY меньшей ёмкости - можно использовать команду:

COPY/DEL/SYS DK: MY:

При этом, все скопированные с устройства DK: файлы будут ( после успешного копирования ) удаляться, а значит - после заполнения очередной дискеты, её замены на свежую и повтора команды - на каждую следующую дискету будут записываться только те файлы, которые не скопировались на предыдущие.