Quote:
Originally Posted by agkirk OK Lost again here... I pulled a BSBs chart from NOAA into a folder on the SD card and did gzip -cd thinking this would unzip it and leave the decompresed file in that folder. Not what happened. The NOAA file decompressed into a large number of piece and where they went I know not. Where does gzip put its output (so I can clean up my mess) and what command string should I have used? |
gzip will put it in cwd (current directory). You don't want the -c flag, which decompresses the file to stdout, instead of to a file, unless you are piping it to some other command that's expecting the output on stdin.
If the files are in zip format, you actually want to use the 'unzip' command, instead of 'gzip'. I know it's a bit confusing, but 'gzip' is actually not for operating on .zip files. I don't know if the distro on the XO has 'unzip', but that's what you need...