ContentsIndexPreviousNext

vio Options

The following options can be used with the vio utility :

-b Block archive with ten input records per output record.
-c Place all files read from archive into current directory.
-d Create directories as needed.
-f file Name archive file or a device name.
-g Ring bell when new volume needed.
-h number Number of bytes to skip at beginning of each archive volume (input).
-h file Add header to volume (output).
-k Record size is 1024 bytes (not 512).
-l file file contains a list of file names to output.
-m Restore file's modification time.
-n Assign current user as new owner of extracted files.
-p Treat non-indexed files as binary (prevents text file conversion).
-r Treat indexed files as raw data files (prevents conversion).
-s size Specifies size of media in records (of 512 or 1024 bytes).
-t Print titles of files in archives rather than extracting files.
-u Do not translate filename directory separators.
-v Verbose mode - print file names.
-2 Produce Vision Version 2 format.
-3 Produce Vision Version 3 format.
-4 Produce Vision Version 4 format.

Note that vio, by default, changes all filenames to use forward slashes as directory separators. This could cause problems when an archive is made on a DOS/Windows machine with filenames that use backslashes (\), and then extracted on a Unix machine, because the files extracted would not be stored in directories, but instead would be created with backslashes in the names. The -u option helps prevent this problem.

vio, when it is reading the names of files to be archived, recognizes UNIX-style names on non-UNIX environments. For example, if you specify the name "../demo/compfile" on a VMS on VAX machine, vio treats this name as "[-.DEMO]COMPFILE". For this reason, you should use UNIX-style names if you want to move directory structures between machines with different operating systems.