Forums

Forums (http://www.abandonia.com/vbullet/index.php)
-   Tech Corner (http://www.abandonia.com/vbullet/forumdisplay.php?f=23)
-   -   7zip Question (http://www.abandonia.com/vbullet/showthread.php?t=9761)

MrBackAlleySka 10-04-2006 01:18 PM

Hey guys, quick question. I have a 7zip file (*.7z) and I know how to extract it. Both 7Zip and WinRAR (though 7Zip works better, obviously) can extract .7z files. However I cannot seem to figure something out.

My friend has a bunch of e-books that he wanted to send to me. For simplicity and neatness, he zipped them all together in 7zip format. I can unzip them all easily enough, but there are hundreds of e-books this dude has! I don't wanna unzip ALL of them, just a few choice ones. I can't manage to do that though. In both WinRAR and 7Zip, any option to extract them, no matter if I highlight 1, all, none, right-click 1 and tell it to extract to spesific, no matter what I do, both programs start extracting ALL of them into the spesified folder.

Is there a way to extract single, spesifc files from a .7z and not the entire thing? Thats easily done in .zip and .rar files, but it just dosen't wanna work in .7z for me. o.O

Data 10-04-2006 01:50 PM

7z x archive.7z filename_of_file_you_want_extracted

MrBackAlleySka 10-04-2006 02:08 PM

:P Little more Layman's terms if you please? Not all of us are that computer savvy :D if it helps, i'm using Win2k.

The Fifth Horseman 10-04-2006 02:31 PM

I think Data means you have to use command line for that purpose.

Rogue 10-04-2006 02:48 PM

In 7ZIP GUI manager select multiple files you like to extract by holding CTRL key while selecting. Selected files should change background color and when you press extract, only those files will extract.

MrBackAlleySka 10-04-2006 03:39 PM

Thats what I did, but it still wants to extract every one of them...

Here's selecting the wanted files with CTRL

Here's clickign extract and telling it where to go (Wanted files still highlighted.)

Here's 7Zip extracting all files in archive. Notice size is over 2000 MB, and the time eventually jumps up to over 2 hours. Also, notice wanted files stop being highlighted.

Rogue 10-04-2006 03:45 PM

These are not exactly eBooks. LOL

What OS and what 7-zip version do you have?

It should change background color for complete line, not only for file name.

MrBackAlleySka 10-04-2006 03:52 PM

Shhh :P They're e-books as far as i'm concerned.

OS is Windows2k, (Don't mind the color, I just saved them as very low-rez .gifs to save time uploading them.) and 7-zip is version 4.32.

Dunno why it only highlights a little bit, but it does.

Data 10-04-2006 04:17 PM

:) guis :)
in the end they are only limiting the flexibility of the tools.

Rogue 10-04-2006 04:39 PM

Couldn't agree more, but in some cases it saves a lot of time.

@ MrBackAlleySka - something is wrong with your 7Zip installation (not sure if archive might be wrong)

When you select those, you press Extract? Try right click one of them and select 'copy to'.

MrBackAlleySka 10-04-2006 05:13 PM

Extract begins extracting all, just like the screenshots say, and the "move to" and "copy to" commands both start moving/copying the entire archive to the spesified place.

=/ Im going to delete 7zip completely, and grab another, older version, see how that goes.

Rogue 11-04-2006 09:34 AM

Good idea! :)

Let us know!

MrBackAlleySka 11-04-2006 12:18 PM

Well im beginning to think it's the archive, and not 7Zip, cause redownloading and trying both the same version again, and a diffrent version again, does the same thing. Odd though that they aren't highlighting the full line like in your screenshot. Ohwell Heh

Rogue 11-04-2006 12:43 PM

Do following:

Create 7Zip archive from some folder you have.

Try to extract 1 or 2 files out of that archive to temp folder.

If it works, you have your answer. :D

Or email eBooks to other good readers (like my self) :whistle: :tomato:

Even I'm sure I have more then once every single book in your complet. LOL

BeefontheBone 11-04-2006 08:57 PM

To answer the question in the third post, that would be the command to do it in Linux I believe.

StrangeQuark 11-04-2006 11:24 PM

ZipGenius does the trick for me. If you keep having problems with 7-Zip, maybe you could try that?

Rogue 12-04-2006 12:59 AM

Quote:

Originally posted by BeefontheBone@Apr 11 2006, 03:57 PM
To answer the question in the third post, that would be the command to do it in Linux I believe.
It is the same (or very close) on the window.

Data,
how to zip one folder with a lot of files (backup files)?

Data 12-04-2006 06:22 AM

@Beef
Yeps you are right. but I assumend the basic options would be the same between the different OS-es

@Anubis
depends wether you want recursion or not
without:
Code:

7z a result.7z directoryname
with
Code:

7z a -r result.7z direcotryname
offcourse you can specify -m parameter to improve compression

here are some useful options
Code:

7-Zip 4.33 beta *Copyright (c) 1999-2006 Igor Pavlov *2006-02-05
p7zip Version 4.33 (locale=C,Utf16=off,HugeFiles=on)
 *
Usage: 7z <command> [<switches>...] <archive_name> [<file_names>...]
 * * * [<@listfiles...>]
 *
<Commands>
 *a: Add files to archive
 *d: Delete files from archive
 *e: Extract files from archive (without using directory names)
 *l: List contents of archive
 *t: Test integrity of archive
 *u: Update files to archive
 *x: eXtract files with full paths
<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 (see the manual)
 *-o{Directory}: set Output directory
 *-p{Password}: set Password
 *-r[-|0]: Recurse subdirectories
 *(CAUTION: this flag does not do what you think, avoid using it)
 *-sfx[{name}]: Create SFX archive
 *-si[{name}]: read data from stdin
 *-so: write data to stdout (eg: % 7z a dummy -tgzip Doc.txt > archive.gz)
 *-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


Zaffo 09-07-2006 08:54 PM

It's normal the archive <strike>must be</strike> IS a solid one (all the files are compresseds as a single big file) it's a technic that help to reduce size even more (drasticly on files with very fews differences like, for EXAMPLE; roms of diferents regions or languages....)
But the conterpart il that when you want one specific file it have to uncompress every file that been interlaced with the one you want.
In the end you'll only get the files you asked for.


The current time is 04:53 AM (GMT)

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.