Sponsored Content
Full Discussion: winzip compatible command
Top Forums UNIX for Dummies Questions & Answers winzip compatible command Post 302171119 by robotronic on Wednesday 27th of February 2008 03:25:30 PM
Old 02-27-2008
On Unix there is a zip utility:
Code:
zip -P mypassword myfile.zip myfile.txt

 

10 More Discussions You Might Find Interesting

1. Cybersecurity

winzip.exe virus attack

HI All, I am using win 2000 and win 98 system, my system has got attacked with "winzip.exe" virus. please help me in recovering from this problem. I am not able to open any sites which has norton/antivirus/ etc and also not able to run norton anti virus. please help me thanks satish (1 Reply)
Discussion started by: thaduka
1 Replies

2. UNIX for Dummies Questions & Answers

Can solaris's Zip/Unzip handle Winzip Version 10.0 Files?

I understand that this version of Winzip allows 129-bit AES encryption and passwords. Can Solaris handle that yet? (2 Replies)
Discussion started by: BCarlson
2 Replies

3. Shell Programming and Scripting

Calling Winzip from perl script

Hi, I would like to invoke "Winzip" utility from a perl script, input the name of zip file and provide output path for unzipped files. Any pointers will be appreciated. Thanks (5 Replies)
Discussion started by: MobileUser
5 Replies

4. Shell Programming and Scripting

gzip compatibility with WinZip/PKZIP

I have 4 files in a dir , A_to_Z.txt Z_to_A.txt 1_to_20.txt 20_to_1.txt I want to create a single gzip file which will contain these 4 text files. This gzip file should be compatible with Windows PKZIP/WinZip. I know you will suggest 'tar' command. But PKZIP/WinZip dont recognize zipped tar... (3 Replies)
Discussion started by: kanu_kanu
3 Replies

5. UNIX for Dummies Questions & Answers

How to open WinZip file in linux

Hi i am an fresh engineer working in a Embedding company and i am new to linux so any one help me to teach or tell how to open a WinZip file in linux as i use gunzip but hte file suffix is not gz so can any one healp me... urs ... (2 Replies)
Discussion started by: wagmare
2 Replies

6. UNIX for Dummies Questions & Answers

Issue: Compress in unix server and FTP to windows and open the compress file using Winzip

Hi All ! We have to compress a big data file in unix server and transfer it to windows and uncompress it using winzip in windows. I have used the utility ZIP like the below. zip -e <newfilename> df2_test_extract.dat but when I compress files greater than 4 gb using zip utility, it... (4 Replies)
Discussion started by: sakthifire
4 Replies

7. Hardware

Trying to find a compatible OS for an old computer

Hello A friend and I recently got our hands on an old computer (a rainbow '83 I think), cleaned it, etc... And now we're trying to get the thing running. The problem is that the included OS is badly documented, so I thought of installing an old version of UNIX on it. So the questions are: Is that... (8 Replies)
Discussion started by: ijiboom
8 Replies

8. UNIX for Dummies Questions & Answers

Vim compatible

I have ubuntu 32 bit installed on VMware with win 7 as host operating system. I am a newbie to Linux shell mode and vi editor. When ever I open the vi editor and select insert mode I don't see the insert mode being highlighted at the bottom of the screen as it is supposed to be. Only when I enable... (4 Replies)
Discussion started by: sabsac
4 Replies

9. Shell Programming and Scripting

Compatible awk command

the following command works beautifully. it basically grabs the content of a file from First to End, then excludes any lines containing specific patterns. awk '/^First/,/^End$/ {if (!/#\/bin\/sh|not.*commonly|#/) print}' datafile. i never had any issues with the command until I ran it on a... (5 Replies)
Discussion started by: SkySmart
5 Replies

10. UNIX for Advanced & Expert Users

.csv.gz file extract errors using Winzip

HI All, Currently, i am working on bash shell. I have generated the csv file via shell script and because of high size , i have zip the csv file and send it to the outlook in windows. filename : viswa.csv.gz i can able to receive the mail successfully , But i am not able to view the... (4 Replies)
Discussion started by: venkatviswa
4 Replies
ZIP_ADD(3)						     Library Functions Manual							ZIP_ADD(3)

NAME
zip_add , - .Nm zip_replace add file to zip archive or replace file in zip archive LIBRARY
libzip (-lzip) SYNOPSIS
#include <zip.h> zip_int64_t zip_add(struct zip *archive, const char *name); "struct zip_source *source" int zip_replace(struct zip *archive, zip_uint64_t index); "struct zip_source *source" DESCRIPTION
The function zip_add adds a file to a zip archive, while zip_replace replaces an existing file in a zip archive. The argument archive specifies the zip archive to which the file should be added. name is the file's name in the zip archive (for zip_add ), while index speci- fies which file should be replaced (for zip_replace ). The data is obtained from the source argument. See the zip_source_* functions cited in SEE ALSO. RETURN VALUES
Upon successful completion, zip_add returns the index of the new file in the archive, and zip_replace returns 0. Otherwise, -1 is returned and the error code in archive is set to indicate the error. EXAMPLES
struct zip_source *s; if ((s=zip_source_buffer(archive, buffer, len)) == NULL || zip_add(archive, name, s) 0) { zip_source_free(s); printf("error adding file: %s0, zip_strerror(archive)); } ERRORS
zip_add and zip_replace fail if: [ZIP_ER_EXISTS] There is already a file called name in the archive. (Only applies to zip_add ). [ZIP_ER_INVAL] source or name are NULL, or index is invalid. [ZIP_ER_MEMORY] Required memory could not be allocated. SEE ALSO
libzip(3), zip_source_file(3), zip_source_filep(3), zip_source_function(3), zip_source_zip(3) AUTHORS
Dieter Baron <dillo@giga.or.at> and Thomas Klausner <tk@giga.or.at> NiH March 10, 2009 ZIP_ADD(3)
All times are GMT -4. The time now is 02:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy