cp -p /mnt/cdrom/* dirname

Craig White craigwhite at azapple.com
Thu Dec 15 16:30:17 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? 
> 
----
just a for the record thing...it appears that the 'newer methodology' is
to put permanent mounts in /mnt and removable media mounts (i.e. memory
cards, cdrom, usb drives, firewire drives) in /media instead.

Craig



More information about the PLUG-discuss mailing list