OpenWindows Advanced User's Guide

G.3.3.1 Copying Files from a Hard Disk to a PCMCIA Memory Card

  1. Type:

    % cd directory
    

    where directory is the name of the directory in which the files that you want to copy are located.

    For example, to copy the file /home/samples/design, type:

    % cd /home/samples
    

  2. Type:

    % tar cvf device_name filename

    Table G-4 tar Command Options to Copy Files to a PCMCIA Memory Card

    Option 

    Description 

    -c

    creates a backup archive 

    -v

    displays a verbose listing 

    -f

    specifies an input device name 

    For example, to copy the file ./design located on your hard disk to a PCMCIA memory card that has the device name /dev/rdsk/c1t6d0s2, type:

    % tar cvf /dev/rdsk/c1t6d0s2 ./design