Make sure the PCMCIA memory card is not write-protected.
Write-protection is controlled by a small slide switch in the end of the PCMCIA memory card.
Make sure the PCMCIA memory card is formatted and mounted.
$ ls /pcmem pcmem0 PCMCIAmemory-card-name |
If the PCMCIA memory card is properly formatted and mounted, its name and the symbolic link, pcmem0, will appear under /pcmem.
If nothing appears under the /pcmem directory, the PCMCIA memory card is not mounted. See "How to Load a PCMCIA Memory Card". The PCMCIA memory card might also need to be formatted. See "How to Format a UFS PCMCIA Memory Card" or "How to Format a DOS PCMCIA Memory Card".
Move or copy the files or directories.
To ... |
Use ... |
---|---|
Copy a file |
cp |
Copy a directory |
cp -r |
Move a file or directory |
mv |
Verify the move or copy operation by using the ls command.
The first example, below, moves a file (readme.doc) from the current directory to the PCMCIA memory card loaded into the first floppy drive (indicated by /pcmem/pcmem0). The second example copies a file (readme2.doc) from the current directory to the PCMCIA memory card loaded into the second floppy drive (indicated by /pcmem/pcmem1). The third example copies a directory (morefiles) and its contents from the /home/smith/directory to the PCMCIA memory card loaded into the first floppy drive.
$ mv readme.doc /pcmem/pcmem0 $ cp readme2.doc /pcmem/pcmem1 $ cp -r /home/smith/morefiles /pcmem/pcmem0 |