Operating Systems > Linux and UNIX
SPACE age kinda stuff here
beltorak0:
actually newer versions of winzip handle tar.gz (tarballs) well enough. if you would rather "zip" them for winderz users try the "zip" commands. man zip.
btw, unzip can take a self-extracting ".exe" and unzip it in case you ever have need...
-t.
Doogee:
hrmm i really cant figure out how to use the zip command but i am in need of it because this host wont let me upload the files because of an "unknown extension"
preacher:
quote:Originally posted by Got Doogee?:
people downloading the files will be primarily winders users, they wont do the tar thing. is there a way to pkzip or something like that. Also all these files need to be seperate
--- End quote ---
I know for a fact that winzip can handle tar files.
Calum:
quote:Originally posted by Got Doogee?:
hrmm i really cant figure out how to use the zip command but i am in need of it because this host wont let me upload the files because of an "unknown extension"
--- End quote ---
here is the solution:
make tar.gz files out of them, then add ".zip" to the end of the filename so:
"doogeesasspix.tar.gz" would become "doogeesasspix.tar.gz.zip" or "doogeesasspix.zip"
note all you do here is change the filename. Then upload the stuff and your host will think they are zip files. The windows users will download them and think they are zip files and they will open them with winzip. in fact if the user has winzip installed, they will be set to open these files with that by default. The net effect for the end user is exactly the same as if you made them zip files in the first place.
Personally i would leave the .tar.gz in the filename since any non windows users will need that sort of clue to what kind of file it is once they find out it's not a 'real' zip file.
flap:
quote:Originally posted by Calum:
note all you do here is change the filename. Then upload the stuff and your host will think they are zip files. The windows users will download them and think they are zip files and they will open them with winzip. in fact if the user has winzip installed, they will be set to open these files with that by default. The net effect for the end user is exactly the same as if you made them zip files in the first place.
--- End quote ---
I'm afraid that won't work. Although winzip can handle both filetypes it still needs to determine which one it's opening. If it's a tarball and the extension's telling it it's a zip, it will assume it's an invalid archive.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version