LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Directories (https://www.linuxquestions.org/questions/linux-general-1/directories-126469/)

Netmaster0000 12-16-2003 08:14 PM

Directories
 
I would like to know how to copy information from a CD-ROM, floppy,and tape drive, into a specific directory.

Tinkster 12-16-2003 08:23 PM

man mount
man cp
man tar


Cheers,
Tink

pilot1 12-16-2003 08:28 PM

First, you need to mount the device. For a CD-ROM, this can be done with "mount /mnt/cdrom". For a flopyy, "mount /mnt/floppy" OR "mount /dev/fd0". This is assuming that you have an fstab with your cdrom and floppy sent to mount to those directories. You must be logged in as root to mount devices.

Now, to copy the files, do "cp -R /mnt/cdrom/filename /folder/to/copy/to". Where /mnt/cdrom is either /mnt/cdrom for the CD-ROM or /mnt/floppy for a floppy.

I'm not sure what tape drives are called in the devfs, so I can't tell you how to mount one, but I'm sure someone else will know how.

Netmaster0000 12-16-2003 09:07 PM

Ok. Thanx a million. I knew how to mount the drives and so, but i just wasn't sure about the copying part. But thanx for theinfo.


All times are GMT -5. The time now is 10:19 PM.