09-23-05 01:48 AM
charles <fsshl@yahoo.com> wrote:
> when I try to copy some .zip file from cdrom to my directory , it have
> error
>
> cp : reading 'myfile.zip' Input/output error
try
dd if=/cdrom/path/myfile.zip of=/dev/null
if it gives input/output error too, then your cd-rom disk (not drive)
seems to be damaged.
> gunzip -S .zip file.zip
> gunzip file.zip has more than one entries -- unchanged
zip files aren't handled by gzip and company (despite the fact that
gunzip can decompress some .zip files). There two packages for them zip
and unzip. Install, RTFM, enjoy.
Let me explain a difference. gzip file (with .gz extension) is *one*
regular file compressed in one compressed-file. So are bzip2 files
(with .bz2) too. .zip, .rar, .arj etc files from the other OS-like
platform (you know) are many files amassed in one *archive* by the way
compressed. In the POSIX world *archiving* is perfomed using tar, cpio,
shar etc. Some of them can be managed to compress files itself,
(afaicr) with some restrictions. (imho) That's not a habit.
Hint. In order to find apropriate tool discover a utility named `file'.
--
Torvalds' goal for Linux is very simple: World Domination
(it's third person quote.)
[ Post a follow-up to this message ]
|