03-26-2008
unzip, tar and compress
unzip the .zip file using command unzip.
Use tar command to tar the files.
Then use compress command on that tar file to create .tar.Z
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I don't know how to create a disk-spanning archive using UNIX. Could someone please help me out? (1 Reply)
Discussion started by: mrosengarth
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
i have tar.gz file in inbound director.
i want display the contents on the tar.gz file in a temp file.
please help me on this. (4 Replies)
Discussion started by: koti_rama
4 Replies
3. UNIX for Dummies Questions & Answers
Huloo,
whats diff between TAR+zip+FTP and TAR+FTP,can't we simpply FTP a file without Zipping it?
TAR is simply for Archiving ,then why do we need to Zip it?
:( (1 Reply)
Discussion started by: swarup2008
1 Replies
4. UNIX Desktop Questions & Answers
Hi,
I want to backup my SQL database using tar zip but I'm paranoid that I will archive it. What I mean is I want the files to stay where they are but make a zipped copy of the files as well, I don't want to delete the originals.
Is the command?
tar -cvzf databasename.tar.gz... (1 Reply)
Discussion started by: chickenhouse
1 Replies
5. UNIX for Advanced & Expert Users
Hi guys,
I have an issue processing a large amount of files. I have around 5 million files (some of them are actually directories) in a server.
I am unable to find out the exact number of files since it's taking "forever" to finish (See this thread for more on the issue).
Anyway, now I... (6 Replies)
Discussion started by: verdepollo
6 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I need a help with zip and tar. I have no done any scripts before with zip command.
What I need to achieve is list files in a directory with a specific name (ID_DATE format- given examples) and then zip (or gunzip which I need to use, I am not sure) with timestamp on the file name and then... (15 Replies)
Discussion started by: Vijay81
15 Replies
7. Shell Programming and Scripting
Need to
1. archive all the files in a directory from the previous month into a tar/gz file, ignoring all already archived 'tar.gz' files
2. Check created .tar.gz file isnt corrupted and has all the required files in it. and then remove the original files.
I am using a function to get the... (1 Reply)
Discussion started by: Prev
1 Replies
8. Shell Programming and Scripting
hi i want to convert date procured from sone operation which will be in 24hr format to 12 hr format displaying AM and PM
# date -d @1362545068
Tue Mar 5 23:44:28 EST 2013
#
this Tue Mar 5 23:44:28 EST 2013
i want to convert it so that output is as below
Tue... (2 Replies)
Discussion started by: vivek d r
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Need to extract a file containing multiple .txt files without using tar/unzip as they are not available (1 Reply)
Discussion started by: santoshdrkr
1 Replies
10. UNIX for Beginners Questions & Answers
Hi Folks -
Happy Friday and I hope you all are well!
What's the easiest way to tar.gz / zip all direct children directories in a folder that have the string _EBASE (suffix)?
Thank you! (6 Replies)
Discussion started by: SIMMS7400
6 Replies
GPG-ZIP(1) GNU Privacy Guard GPG-ZIP(1)
NAME
gpg-zip - Encrypt or sign files into an archive
SYNOPSIS
gpg-zip [options] filename1 [ filename2, ... ] directory1 [ directory2, ... ]
DESCRIPTION
gpg-zip encrypts or signs files into an archive. It is an gpg-ized tar using the same format as used by PGP's PGP Zip.
OPTIONS
gpg-zip understands these options:
--encrypt
-e Encrypt data. This option may be combined with --symmetric (for output that may be decrypted via a secret key or a passphrase).
--decrypt
-d Decrypt data.
--symmetric
-c Encrypt with a symmetric cipher using a passphrase. The default symmetric cipher used is CAST5, but may be chosen with the
--cipher-algo option to gpg.
--sign
-s Make a signature. See gpg.
--recipient user
-r user
Encrypt for user id user. See gpg.
--local-user user
-u user
Use user as the key to sign with. See gpg.
--list-archive
List the contents of the specified archive.
--output file
-o file
Write output to specified file file.
--gpg gpgcmd
Use the specified command gpgcmd instead of gpg.
--gpg-args args
Pass the specified options to gpg.
--tar tarcmd
Use the specified command tarcmd instead of tar.
--tar-args args
Pass the specified options to tar.
--version
Print version of the program and exit.
--help Display a brief help page and exit.
EXAMPLES
Encrypt the contents of directory 'mydocs' for user Bob to file 'test1':
gpg-zip --encrypt --output test1 --gpg-args -r Bob mydocs
List the contents of archive 'test1':
gpg-zip --list-archive test1
DIAGNOSTICS
The program returns 0 if everything was fine, 1 otherwise.
SEE ALSO
gpg(1), tar(1),
The full documentation for this tool is maintained as a Texinfo manual. If GnuPG and the info program are properly installed at your site,
the command
info gnupg
should give you access to the complete manual including a menu structure and an index.
GnuPG 2.0.15 2010-07-05 GPG-ZIP(1)