Sponsored Content
Full Discussion: unzip in same directory
Top Forums UNIX for Advanced & Expert Users unzip in same directory Post 302500814 by DGPickett on Tuesday 1st of March 2011 03:34:57 PM
Old 03-01-2011
You may want the option to disable relative paths (-j), if any. Create the database dir yourself and run unzip in there.
 

10 More Discussions You Might Find Interesting

1. HP-UX

How to Unzip a .ZIP file in Unix without using unzip cmd..?????

Hi All I have ftped a .ZIP file (zipped using WinZip in Windows) to my Unix server (HP-UX). I don't have unzip cmd available in my curent Unix version Please let me know any cmd in UNIX (other than unzip) using which I can unzip this .ZIP file . Please elaborate on the commands aval and... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies

2. UNIX for Dummies Questions & Answers

How to unzip multiple files (encrypted) in a directory.

Good day all. I want to unzip multiple files in a directory. Suppose there are two files: test.txt.zip and test1.txt.zip Using this command: unzip -o -P test*.zip results in the unzipping of the first file not second. It gives this error: Archive: test.txt.zip caution: filename not... (2 Replies)
Discussion started by: er_ashu
2 Replies

3. Programming

Not able to use NFS mounted directory as buffer for untar & unzip.

Hi, For a new requirement, we are trying to use NFS mounted directory as the buffer (TMP_DIR) for untar. Target OS- VxWorks Host OS - Windows Embedded. mounted a directory in wondows onto VxWorks. During untar process of GNU we come across utime, for chaning the time stamp of the... (0 Replies)
Discussion started by: suraj.bc
0 Replies

4. UNIX for Dummies Questions & Answers

unzip!!!!!!

Hi, How to find the size of a zipfile after unzipping without unziping it? Pls let me know if anyone has idea abtit. Thanks (1 Reply)
Discussion started by: rags_s11
1 Replies

5. Shell Programming and Scripting

How to Unzip a .ZIP file in Unix without using unzip cmd..?????

Hi All I have ftped a .ZIP file (zipped using WinZip in Windows) to my Unix server (HP-UX). I don't have unzip cmd available in my curent Unix version Please let me know any cmd in UNIX (other than unzip) using which I can unzip this .ZIP file . Please elaborate on the commands aval and... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies

6. Shell Programming and Scripting

How to Unzip a file using unzip utility for files zipped without zip utility ?

Hi, I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server. How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies

7. SCO

Unzip

Hi, I have installed Unzip 5.3 on SCO Unix 5.05 Openserver and it successfully installs but when I go to unzip a file by using unzip <filename> I get ksh: unzip: not found . Any ideas?:o (1 Reply)
Discussion started by: twitchmaker
1 Replies

8. UNIX for Advanced & Expert Users

Unzip Help

Hello All, I am trying to write a shell script(linux) where it just unzips the abc.zip file in the same folder. If I write unzip abc.zip in my shell script and try to run the shell script I am getting Error : ?Invalid command But when I run the command unzip abc.zip at the command prompt... (5 Replies)
Discussion started by: su2
5 Replies

9. Shell Programming and Scripting

Unzip the .zip file without using unzip utility in UNIX

I have .zip file, i want to list all the files archived in the zip file. unzip utility is not working for me in unix. Please help me resolve this issue Thanks ganesh. (3 Replies)
Discussion started by: Ganesh L
3 Replies

10. Shell Programming and Scripting

Unzip Multiple zip files and Strip directory

I receive multiple zipped directories with files in them, so the .zip name is the name of the directory containing the files. so i have used a simple loop to unzip all of them but when unzipped i have folders/directories, i wanted to strip these directories and remain with the actual files from... (1 Reply)
Discussion started by: buggzdiq
1 Replies
MAKEWHATIS(8)                                                 System Manager's Manual                                                MAKEWHATIS(8)

NAME
makewhatis - index UNIX manuals SYNOPSIS
makewhatis [-aDnpQ] [-T utf8] [-C file] makewhatis [-aDnpQ] [-T utf8] dir ... makewhatis [-DnpQ] [-T utf8] -d dir [file ...] makewhatis [-Dnp] [-T utf8] -u dir [file ...] makewhatis [-DQ] -t file ... DESCRIPTION
The makewhatis utility extracts keywords from UNIX manuals and indexes them in a database for fast retrieval by apropos(1), whatis(1), and man(1)'s -k option. By default, makewhatis creates a database in each dir using the files mansection/[arch/]title.section and catsection/[arch/]title.0 in that directory. Existing databases are replaced. If a directory contains no manual pages, no database is created in that directory. If dir is not provided, makewhatis uses the default paths stipulated by man.conf(5). The arguments are as follows: -a Use all directories and files found below dir .... -C file Specify an alternative configuration file in man.conf(5) format. -D Display all files added or removed to the index. With a second -D, also show all keywords added for each file. -d dir Merge (remove and re-add) file ... to the database in dir. -n Do not create or modify any database; scan and parse only, and print manual page names and descriptions to standard output. -p Print warnings about potential problems with manual pages to the standard error output. -Q Quickly build reduced-size databases by reading only the NAME sections of manuals. The resulting databases will usually contain names and descriptions only. -T utf8 Use UTF-8 encoding instead of ASCII for strings stored in the databases. -t file ... Check the given files for potential problems. Implies -a, -n, and -p. All diagnostic messages are printed to the standard output; the standard error output is not used. -u dir Remove file ... from the database in dir. If that causes the database to become empty, also delete the database file. If fatal parse errors are encountered while parsing, the offending file is printed to stderr, omitted from the index, and the parse continues with the next input file. ENVIRONMENT
MANPATH A colon-separated list of directories to create databases in. Ignored if a dir argument or the -t option is specified. FILES
mandoc.db A database of manpages relative to the directory of the file. This file is portable across architectures and systems, so long as the manpage hierarchy it indexes does not change. /etc/man.conf The default man(1) configuration file. EXIT STATUS
The makewhatis utility exits with one of the following values: 0 No errors occurred. 5 Invalid command line arguments were specified. No input files have been read. 6 An operating system error occurred, for example memory exhaustion or an error accessing input files. Such errors cause makewhatis to exit at once, possibly in the middle of parsing or formatting a file. The output databases are corrupt and should be removed. SEE ALSO
apropos(1), man(1), whatis(1), man.conf(5) HISTORY
A makewhatis utility first appeared in 2BSD. It was rewritten in perl(1) for OpenBSD 2.7 and in C for OpenBSD 5.6. The dir argument first appeared in NetBSD 1.0; the options -dpt in OpenBSD 2.7; the option -u in OpenBSD 3.4; and the options -aCDnQT in OpenBSD 5.6. AUTHORS
Bill Joy wrote the original BSD makewhatis in February 1979, Marc Espie started the Perl version in 2000, and the current version of makewhatis was written by Kristaps Dzonsons <kristaps@bsd.lv> and Ingo Schwarze <schwarze@openbsd.org>. Debian May 17, 2017 MAKEWHATIS(8)
All times are GMT -4. The time now is 03:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy