cp -p /mnt/cdrom/* dirname

Craig White craigwhite at azapple.com
Thu Dec 15 16:27:07 MST 2005


On Thu, 2005-12-15 at 16:22 -0700, Josef Lowder wrote:
> 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? 
----
the just wondering question...

is /mnt/cdrom mounted?

ls -l /mnt/cdrom

are there any files?

Craig



More information about the PLUG-discuss mailing list