Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Searching archives recursively
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) Printable version
View previous topic :: View next topic  
Author Message
katzco
Junior Member
Junior Member


Joined: 30 Jun 2009
Posts: 6

PostPosted: Tue Jun 30, 2009 8:01 am    Post subject: Searching archives recursively Reply with quote

This issue was discussed before, but I don't know if it was considered as an enhancement.
TC gives a nice virtualization of archives as if they were directories. You can double click a ZIP file and see the files inside it and in case that ZIP file contains another ZIP file you can double click it again. However, "search" does not work that way. It supports "Search archives" and "Search subdirectories", but there is no way to achieve recursive archive search what so ever (I have this need every day, and then I go through the tedious process of unpacking the first "layer" before searching).
I suggest that the "Search subdirectories" combo will be renamed "search recursively (directories/archives)" and if the user enables the "search archives" checkbox, an archive-within-archive search will be performed accordingly. Any other user interface will be welcomed as well...

Katzco
Back to top
View user's profile Send private message
jjk
Member
Member


Joined: 03 Jul 2003
Posts: 142

PostPosted: Tue Jun 30, 2009 9:08 am    Post subject: Reply with quote

The last time I asked for that, Christian answered that it was too complex, if I remember well.
But it was about 2000. No more track in this forum Sad

It is still a wish for me.
So, support ++
Back to top
View user's profile Send private message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 5933
Location: Russian Federation

PostPosted: Tue Jun 30, 2009 10:32 am    Post subject: Reply with quote

My opinion about this:
1. I have no recursive archives because it is ugly. It doesn't improve compression but improves complexity and inconvenience.
2. If I found such recursive archive, I'll unpack it. Smile And, if I need to keep archive, create an archive with folders instead of archives.
3. I agree with Christian, it is quite complex to make such procedure.
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
katzco
Junior Member
Junior Member


Joined: 30 Jun 2009
Posts: 6

PostPosted: Thu Jul 02, 2009 1:52 am    Post subject: Reply with quote

Complex does not mean useless (usually on the contrary...). All I say is that if file navigation through archives looks and feels like virtual directories, and TC can drill in and out of them seamlessly, so does search should be.
In any case I agree that recursive archives are ugly, but I come across them every day at work, and therefore recursive search will be a highly appreciated addition.
Back to top
View user's profile Send private message
jjk
Member
Member


Joined: 03 Jul 2003
Posts: 142

PostPosted: Thu Jul 02, 2009 3:26 am    Post subject: Reply with quote

I had also your problem. Now I don't make anymore recursive archives.
But I have still some ones.
I am looking for a tool to transform them into archives with subdirectories inside instead of sub-archives.
Is there anyone who knows that ?
Back to top
View user's profile Send private message
ado
Senior Member
Senior Member


Joined: 18 Feb 2003
Posts: 444
Location: Slovakia, Pezinok

PostPosted: Fri Jul 03, 2009 12:19 am    Post subject: Reply with quote

MVV wrote:
My opinion about this:
1. I have no recursive archives because it is ugly. It doesn't improve compression but improves complexity and inconvenience.
2. If I found such recursive archive, I'll unpack it. Smile And, if I need to keep archive, create an archive with folders instead of archives.
3. I agree with Christian, it is quite complex to make such procedure.

well sometimes you do not have another option:
I have abc.ear (web application) and inside is a few .war files, that contains beside another files some .jar files. EAR, WAR and JAR files are zip files just different extension. When you want to deploy that app to application server, you have to use that .ear.
I would love to have recursive search in .war file in .ear. And not just in regular search, but also in Compare by contents - in fact I am doing it almost daily to compare two .ear files, but I cannot do it all at one shot; I have to go inside of both and then compare - if any archive inside is different, I have to again navigate to it, enter inside in both panels and run Compare by contents

ado
Back to top
View user's profile Send private message Send e-mail
PeterTBCarp2
Junior Member
Junior Member


Joined: 14 Jan 2008
Posts: 65

PostPosted: Fri Jul 03, 2009 6:57 am    Post subject: Reply with quote

This introduces the question of how TC Search treats Windows 7 'Libraries'.

Groupings, like 'Playlists' in another context.

Has this been discussed anywhere, yet?
Back to top
View user's profile Send private message
StatusQuo
Power Member
Power Member


Joined: 17 Jan 2007
Posts: 1457
Location: Germany

PostPosted: Sat Jul 04, 2009 3:29 pm    Post subject: Reply with quote

[OT]
2PeterTBCarp2
http://ghisler.ch/board/viewtopic.php?t=21140&highlight=libraries
[/OT]
_________________
Who the hell is General Failure, and why is he reading my disk?
-- Kibiby, Gibiby, Dididy, Lalaly. Doobi Dam Dam...
-- TC starter menu: Fast yet descriptive command access!
Back to top
View user's profile Send private message Send e-mail
katzco
Junior Member
Junior Member


Joined: 30 Jun 2009
Posts: 6

PostPosted: Wed Jul 08, 2009 7:01 am    Post subject: Reply with quote

StatusQuo, thank you for answering Peter's question. Any comment about the original subject?
Back to top
View user's profile Send private message
StatusQuo
Power Member
Power Member


Joined: 17 Jan 2007
Posts: 1457
Location: Germany

PostPosted: Thu Jul 09, 2009 1:10 pm    Post subject: Reply with quote

katzco wrote:
Any comment about the original subject?

Personally I rarely use cascaded archives.
But it would be useful for TGZ format (TAR in GZ archive), in Linux a quite common format. So:

Support, useful.
_________________
Who the hell is General Failure, and why is he reading my disk?
-- Kibiby, Gibiby, Dididy, Lalaly. Doobi Dam Dam...
-- TC starter menu: Fast yet descriptive command access!
Back to top
View user's profile Send private message Send e-mail
Balderstrom
Power Member
Power Member


Joined: 11 Oct 2005
Posts: 2099

PostPosted: Thu Jul 09, 2009 7:07 pm    Post subject: Reply with quote

katzco wrote:
All I say is that if file navigation through archives looks and feels like virtual directories, and TC can drill in and out of them seamlessly,

It's actually not seamless, TC is able to open the first tier of archives (zip/rar/cab/etc) and display the file lists as if it was a directory. Any further archives within an archive are actually unpacked to the Temp folder to be able to view the contents.
Code:

AddressBar:: c:\Program Files\Accessories\TrayMenu\Copy of TRMN202b_DLL.rar\*.*
   TRMN202b_DLL\
   Window List.rar

now I click on Window List.rar
Code:

AddressBar:: c:\UsR\FOO\LOCALS~1\Temp\_tc\Window List.rar\*.*
   Window List.windowlist

Similiar to how a Tar.gz is considered a single file that has been compressed, TC will unpack the whole thing to the Temp folder before displaying any contents.

And that is just one additional archive level, imagine an archive in an archive in an archive...
Back to top
View user's profile Send private message Send e-mail
ado
Senior Member
Senior Member


Joined: 18 Feb 2003
Posts: 444
Location: Slovakia, Pezinok

PostPosted: Thu Jul 09, 2009 11:04 pm    Post subject: Reply with quote

Balderstrom wrote:

Similiar to how a Tar.gz is considered a single file that has been compressed, TC will unpack the whole thing to the Temp folder before displaying any contents.

And that is just one additional archive level, imagine an archive in an archive in an archive...

right, true, but TC has to do it anyway if you choose to search for text in files and not just by filename

ado
Back to top
View user's profile Send private message Send e-mail
jpyllman
Junior Member
Junior Member


Joined: 23 Jan 2007
Posts: 2

PostPosted: Tue Jul 14, 2009 12:19 pm    Post subject: Reply with quote

Searching inside .tgz/tar.gz would be very nice. A very common thing if you work with *nix systems. I use *nix system and cygwin in windows. I have tons of .tgz/tar.gz that I would like to include in my searches.
Back to top
View user's profile Send private message
Balderstrom
Power Member
Power Member


Joined: 11 Oct 2005
Posts: 2099

PostPosted: Tue Jul 14, 2009 3:07 pm    Post subject: Reply with quote

I don't believe its possible, without unpacking. From my recollection of *nix, TAR's were searchable and TGZ/TBZ/TAR.gz/TAR.bz were not.
GZIP and BZIP are single file compressors, and are next to useless without TAR.

CABS aren't much better, but at least they have a dff file you can generate to do a multi-cab archive that is easily searchable.

All(MOST) of Microsoft's patches are self-extracting-multi-file CAB. CAB also can use LZ* compression instead of Zip.

7z is probably a decent choice, but I find it far too slow and memory intensive for "some" extra compression. I generally turn all my archives into RARs as it has the best overall feature-set and on-par compression, IMHO Smile

The only way it might be doable is utilizing something like PFM's Audit Package, which allows you to generate a PersonalFolder that has ZIP compression. When that file is mounted (as a Folder) You can then drop Files into the "mounted Folder". Everything inside is automatically compressed ZIP. So if you put multiple .ZIP or .RAR files inside then they would still be able to be opened as usual.

Of course when that Folder is unmounted it isn't much of anything. aside from named as FOOBAR.PFO or the like.
When mounted again you would see|have access to all of your files inside.

It's very interesting technology really, and I don't forsee Mr.Ghisler implementing something like that from scratch - it would be far too much work when so many other things could be done. Perhaps it could be licensed? I dunno.

I know I've been having fun playing around with the TemporaryFolders (on-the-fly-RAM drives), Personal(Compressed)Folders/CFS, and converted compressed CD/DVD ISO's.
_________________
Petition to rename "TC suggestions (English)" to be more in-line with the forum: "TC Behaviour which will not be changed"
My Recommendation: "TC Suggestions (dev/null) Features that wont be implemented."
Back to top
View user's profile Send private message Send e-mail
DrShark
Senior Member
Senior Member


Joined: 03 Nov 2006
Posts: 460
Location: Kyiv, Ukraine

PostPosted: Tue Jul 14, 2009 8:12 pm    Post subject: Reply with quote

Balderstrom wrote:
I don't believe its possible, without unpacking.
Of course it requires unpacking. And makes a search much longer in time. Look at antivirus scanners, they all scan archive formats in that way...
_________________
Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group