create a selfextracting zip file with zip on solaris?
location: linuxquestions.com - date: October 14, 2004
I would like to create a self-extracting zip file for windows with the command zip on my solaris server?
I type "zip -A TEST.exe TEST.PDF"
The compressed file is created but once I want to run it on my PC(Windows 2k) it doesn't work (it write "program too big to fit in memory")
Is it possible to make that?
using UNIX command to zip/compress a file with PASSWORD in SQR
location: linuxexchange.com - date: January 1, 1970
I want to use unix command in SQR to zip/ compress a file with password and after that verifying password option
PGP Encrypting a Zip File with Python in Ubuntu
location: linuxexchange.com - date: September 15, 2015
I am regularly generating a zip of folders on a server and pushing these archives to a storage server. To comply with data privacy regulations, we need to have these folder encrypted using a client's supplied public key.
I am using gnupg, and have imported the public key to the server.
stream = open('/home/user/myfile.zip','rb')
However when using the private key to decrypt the file, the resulting zip file is a different size than the source zip, and is unreadable. For example, the source zip file is 66KB, the decrypted file is 104KB.
I have had similar problems with other compressed test files: .jpg, .png, etc.
The only files I have successfully decrypted and opened are uncompressed text files - .txt and .css, so I know that the key pair is working.
When trying to open a decrypted zip file, the error I get is: "There was a problem reading the contents of "myfile.zip". The archive file is incomplete".
Zip file with no compression
location: linuxquestions.com - date: April 21, 2006
I am attempting to modify some Thunderbird .jar files in Slackware 10.2 and KDE 3.4. I need to modify the .jar files then zip them but with no compression. I have done this in the past using FileRoller in Gnome, but I can't seem to find a setting in Ark to zip files with no compression. I also couldn't figure how to do this with the command line.
How do I modify these files and reinclude them in the .jar with no compression? Does anyone know how to do this with Ark or the command line? How about another KDE application that can do this?
compress a file with password protection?
location: ubuntuforums.com - date: May 26, 2009
it seems that gzip does not support compress a file with password protection?
also i checked out bunzip2, same result.
and if I click the file and select "create archive", the "password option is grey out in the popup windows.
What can I do to enable the password option?
[SOLVED] Create a file with suid from Perl script
location: linuxquestions.com - date: May 11, 2012
Hello, I have a perl script that runs in a Linux system, it basically reads a list of files and attributes and copies them to the right directory and set the attributes accordingly.
The script works fine with files with "regular" attributes like 0755, I'm doing something like this:
Installing TV Tuner Drivers from Zip file with Xubuntu
location: ubuntuforums.com - date: August 13, 2011
I'm quite the rookie using 'Xubuntu' on my older Acer Laptop and recently got a USB AVerTV H826 Hybrid Volar Max tuner so I could hopefully watch some broadcast television using the Kaffeine program.
Well, for the first time ever I had to actually go to the company website and download a driver so my device would work. Normally my devices were automatically installed.
I got the 32bit driver from the AVerMedia website and extracted the .zip file to my Desktop for easy access.
I renamed the extracted folder to TV to lessen what I'm assuming I will have to type in the Terminal command prompt.
*** Inside the extracted folder "TV" is a file named - AVERMEDIA-Linux-x86-H826D-0.10-beta.sh
After several attempts and hours of trying to install this television tuner I've decided to accept defeat and pick the minds of the wise.
So keeping in mind that I'm not all too savvy with Xubuntu or Linux in general please be as specific as possible with what I need to type in T
Program (or code?) to create empty file with specified permissions
location: linuxquestions.com - date: January 4, 2011
Is there a standard program in Linux that you can use to create an empty file with a specified set of permission bits? For example, when you use the "mkdir" command you can pass in "-m 0750" to create a directory with the permission bits 0750 already set. Though, in my case I want to create regular files, not directories or special files. I looked through TOUCH(1), but there doesn't seem to be a "mode" or "permissions" switch.
Just to be clear, a few points:
- The program must open the file with the specified permissions, not open them with one set of permissions and change them to another.
- Yes, I know how to write a C or Ruby program that could do this... but I'd rather use one that is already written/installed if available.
- No, adjusting the umask each time I want to create such a file is not a good option for me.
Create text file with a script
location: linuxquestions.com - date: May 18, 2004
Can anyone point me in the right direction. I would like to create a script that creates a text file with 4 lines of text. Does any one know how i can accomplishe this?
How to Create zip file in PHP using shell command on linux server
location: linuxexchange.com - date: July 4, 2013
this is the command that actually i want to run using PHP in Linux server.
shell_exec(" zip -r abc.doc xyz.doc > foo.zip ");
Using this command i script create damanged zip file, so can anyone help me to make it proper.
Page: 1 2 3 4 5 6 7 8 9 10