trey85stang |
07-23-2005 02:18 PM |
7zip, extracting to alternate directories.
I need to extract about 200 7z files. I found 7zip for linux (the command line version) but I cannot get this thing to extract to a directory that is differnt from which zrchive is in.
Here is the help
Code:
trey@darkstar:~$ 7za
7-Zip (A) 4.20 Copyright (c) 1999-2005 Igor Pavlov 2005-05-30
p7zip Version 4.20 (locale=en_US,Utf16=on,HugeFiles=on)
Usage: 7za <command> [<switches>...] <archive_name> [<file_names>...]
[<@listfiles...>]
<Commands>
a: Add files to archive
d: Delete files from archive
e: Extract files from archive
l: List contents of archive
t: Test integrity of archive
u: Update files to archive
x: eXtract files with full pathname
<Switches>
-ai[r[-|0]]{@listfile|!wildcard}: Include archives
-ax[r[-|0]]{@listfile|!wildcard}: eXclude archives
-bd: Disable percentage indicator
-i[r[-|0]]{@listfile|!wildcard}: Include filenames
-l: don't store symlinks; store the files/directories they point to
CAUTION : the scanning stage can never end because of symlinks like '..'
(ex: ln -s .. ldir)
-m{Parameters}: set compression Method
-o{Directory}: set Output directory
-p{Password}: set Password
-r[-|0]: Recurse subdirectories
-sfx[{name}]: Create SFX archive
-si: read data from stdin
-so: write data to stdout
-t{Type}: Set type of archive
-v{Size}}[b|k|m|g]: Create volumes
-u[-][p#][q#][r#][x#][y#][z#][!newArchiveName]: Update options
-w[{path}]: assign Work directory. Empty path means a temporary directory
-x[r[-|0]]]{@listfile|!wildcard}: eXclude filenames
-y: assume Yes on all queries
trey@darkstar:~$
So from what I see.. e extracts but there does not seem to be any options to extract to /whatever instead of extracting to '.'
EDIT: Assigning a work directory does not change the extracting path... I tried it a few different way with no change.
So.. am I over looking something or does this app not do this? If it doesn't I will have to extract 200 archives manually.. since I wont be able to script it :(
|