i am using a FreeBSD remote account and I have directory that holds a number of
other directories most of which posses *.tgz *.tar.bz2 *.gz files... on a linux system
i would use a find format such as this to locate and mv *.tgz and *.tar.bz2 files
find ./dir -type f -iname "*.t*" -print |... (3 Replies)
I have to zip many pdf files and the size of zip file must not exceed 200 MB. When size is more than 200 MB then multiple zip files needs to be created.
How we can achieve this in UNIX?
I have tried ZIP utility but it takes a lot of time when we add individual pdfs by looping through a... (1 Reply)
Hi,
Please help me,
i need a single line command for te below steps
1: listing a directory
2: searching a particular pattern in the names and creating the zip files of each
eg :
ls -lrt | grep jil | awk '{print $9}'
output is
kap.jil
pranabjil
pranabjil1
pranabjil2... (1 Reply)
Hi All,
I have a set of large files ~ 500_900Mb I have generated and I'd like to quickly zip and copy them to a new folder elsewhere ...
Can anyone suggest a quicky ??
Cheers :) (3 Replies)
Hi
I have a requirement in unix shell where I need to zip multiple files on server to one single .zip file. I dont see zip command in AIX and gzip command not doing completely what I want.
One I do .zip file, I should be able to unzip in my local Computer.
Here is example what I want... (9 Replies)
Hi,
Is there a direct command or need to write a shell script for following requirement?
Everyday a folder is populated with approx 25k to 30k xml files. I need to create multiple zip files in the same folder each containing 50 xml files. The last zip file may or may not contain 50 xml files.... (6 Replies)
Hi there,
I am using AIX and trying to search and replace a string with another string in multiple files in different directories.
I wanted to search replace in steps so I don't change all of the instance anywhere in the server at once, minimizing impact.
STEP 1:
--------
I first searched... (5 Replies)
Hi all i am very new to shell scripting and need some help from you to learn
1)i have some log files that gets generated on daily basis example: i have abc_2017_01_30_1.log ,2017_01_30_2.log like wise so i want to zip this 4 logs which are created on same date into one zip folder.
2)Post zipping... (2 Replies)
Hi all i am very new to shell scripting and need some help from you to learn
1)i have some log files that gets generated on daily basis example: i have abc_2017_01_30_1.log ,2017_01_30_2.log like wise so i want to zip this 4 logs which are created on same date into one zip folder.
2)Post zipping... (1 Reply)
Discussion started by: b.saipriyanka
1 Replies
LEARN ABOUT LINUX
gpg-zip
GPG-ZIP(1) General Commands Manual GPG-ZIP(1)NAME
gpg-zip - encrypt or sign files into an archive
SYNOPSIS
gpg-zip [OPTIONS] filename1 [filename2, ...] directory1 [directory2, ...]
DESCRIPTION
This manual page documents briefly the gpg-zip command.
gpg-zip encrypts or signs files into an archive. It is an gpg-ized tar using the same format as PGP's PGP Zip.
OPTIONS -e, --encrypt
Encrypt data. This option may be combined with --symmetric (for output that may be decrypted via a secret key or a passphrase).
-d, --decrypt
Decrypt data.
-c, --symmetric
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(1).
-s, --sign
Make a signature. See gpg(1).
-r, --recipient USER
Encrypt for user id USER. See gpg(1).
-u, --local-user USER
Use USER as the key to sign with. See gpg(1).
--list-archive
List the contents of the specified archive.
-o, --output FILE"
Write output to specified file FILE.
--gpg GPG
Use the specified command instead of gpg.
--gpg-args ARGS
Pass the specified options to gpg(1).
--tar TAR
Use the specified command instead of tar.
--tar-args ARGS
Pass the specified options to tar(1).
-h, --help
Output a short usage information.
--version
Output the program version.
DIAGNOSTICS
The program returns 0 if everything was fine, 1 otherwise.
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
SEE ALSO gpg(1), tar(1)AUTHOR
Copyright (C) 2005 Free Software Foundation, Inc. Please report bugs to <bug-gnupg@gnu.org>.
This manpage was written by Colin Tuckley <colin@tuckley.org> and Daniel Leidert <daniel.leidert@wgdd.de> for the Debian distribution (but
may be used by others).
November 2006 GPG-ZIP(1)