cp -p /mnt/cdrom/* dirname

Josef Lowder joe at actionline.com
Thu Dec 15 16:22:04 MST 2005


On my old system, using this:  cp -p /mnt/cdrom/* dirname 
would copy all the files from a cdrom to the named directory (or folder) 
but on my new system this doesn't seem to work. 

I've tried various combinations, including
cp -p /mnt/cdrom dirname 
cp -p -r /mnt/cdrom dirname 
cp -pr /mnt/cdrom dirname 

I want to copy all the files and directories and their contents 
from the backup CD I burned to the named directory on the 
new system, preserving the file creation date, owner, and 
permissions. 

What am I doing wrong? 



More information about the PLUG-discuss mailing list