i have a file called rsync-3.0.9.tar.gz, i have to unzip and then uncompress it. but at first while i am trying to unzip this file, it is giving me following error:
-rw-r--r-- 1 bravodba bravodba 7278458 Aug 19 08:26 rsync-3.0.9.tar.gz
bash-3.2$ unzip rsync-3.0.9.tar.gz
Archive: rsync-3.0.9.tar.gz
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of rsync-3.0.9.tar.gz or
rsync-3.0.9.tar.gz.zip, and cannot find rsync-3.0.9.tar.gz.ZIP, period.
(Do NOT add the hyphen "-" nor the z option, which seem to not be available in SunOS)
Note that this will untar and uncompress your file in your current directory. If you want to perform the same operation but save the results in a different directory, you should do:
tar xvf rsync-3.0.9.tar.gz -C /full/path/to/your/directory
Based on this error, I'd say your tarball is corrupted or wasn't properly downloaded (maybe there was a network glitch when you were downloading it). I am not very familiar with Solaris myself, but if you're trying to install rsync, I'd suggest you look into another way of doing it (some kind of repos, maybe? Excuse my ignorance as to the package management system Solaris uses).