How to copy files from a CD drive in CentOS
To copy files from the optical drive, you can follow these steps:
- Make sure that the disc has been inserted into the optical drive.
- Type the following command in the CentOS terminal to view the mounting point of the optical drive:
- Show only the mounted cdrom.
- After checking the mounting point, use the following command to create the destination folder for copying files to the specified location:
- Create a new directory at the specified destination folder path.
- Copy the files from the CD drive to the target folder using the following command.
- Copy all files and directories from the specified mount point to the designated destination folder.
- Among them, the /mount/point is the optical drive mounting point seen in step 2.
- After the copying is complete, you can use the following command to eject the CD drive:
- unmount the /mount/point
After completing the above steps, the files on the optical drive will be copied to the specified destination folder.