I need to copy files from different directories in a CD-ROM to a single
directory in my hard drive.
So far, I tried with:
find /mnt/cdrom/ -name * -type f -exec cp {}
/home/BigDog/files/source/{} \;
but I get errors as this try to create
/home/.../source//mnt/cdrom/.../filename
(yes, it tries to preserve the orignal directory structure with a double
/)
I tried the cp and mv commands, but they preserve the directory
structure of the original files (i.e.
/.../source/otherdirectory/filename)
I have thought about using tar and gzip, but as far as I have read, both
commands will keep the original directory structure.
Any idea?
TIA,
-Manuel.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list