ContentsIndexPreviousNext

3.4.3 vio Examples

Suppose that you have a list of files that you want to move to another machine using some compatible media. You could use the following vio command to create the media:

vio -ovblf listfile device


Note that for each line inside the "listfile" there must not be any spaces before or after the file name. The correct format for this file is:

filename(newline)
filename(newline)
filename(newline)

Do not include lines with spaces (in the middle or initial), such as:

filename (newline)
or
filename(newline)
On the target machine, you can read the archive you just created with:

vio -ivndf device

Assuming that this archive was on a 1.2 MB floppy, you could read this on an MS-DOS machine with:

vio -ivndf a:h

Now let's assume that you want to move a set of Vision indexed files to another machine, but you do not have any common media. You plan to use a network or modem-transfer to get the files to the target machine, but you have a problem because the indexed file format on the two machines is different. You can use vio to help you in this case by writing the archive to a disk file with this command:

vio -ovblf listfile   diskfile


Note that the "listfile" must not have spaces before or after the file names.
Then you move "diskfile" to the target machine and use vio to create new indexed files in the correct format with this command:

vio -ivndf  diskfile