How to search for folder name inside an archive?
Moderators: white, Hacker, petermad, Stefan2
Compressed files?
Is it possible to search for directory names inside a compressed file? If yes, how?
Not in Windows 7 backup files
Thanks for the help, but this seems not to work on Windows 7 Backup files (Created in Windows 10 with the windows backup program).
I have created such a file and then removed everything except a file in a subdirectory. Doing that I noticed 3 strange issues:
- In these windows backup file, if you remove the last file in a subdirectory, the whole tree is removed up to a non null tree.
- If you copy the contents from a windows zip into another zip, the 2 zip files have a different size (the latter is greater. See also included samples)
- The search for directories don't work on those windows zip files...
To recreate I have uploaded 2 files (for 30 days):
Windows Backup.zip
TC made Backup.zip
Try to search for "Postman", only the "Tc made Backup.zip" is returned
Version: Total Commander (x64) 9.12
I have created such a file and then removed everything except a file in a subdirectory. Doing that I noticed 3 strange issues:
- In these windows backup file, if you remove the last file in a subdirectory, the whole tree is removed up to a non null tree.
- If you copy the contents from a windows zip into another zip, the 2 zip files have a different size (the latter is greater. See also included samples)
- The search for directories don't work on those windows zip files...
To recreate I have uploaded 2 files (for 30 days):
Windows Backup.zip
TC made Backup.zip
Try to search for "Postman", only the "Tc made Backup.zip" is returned
Version: Total Commander (x64) 9.12
Re: Not in Windows 7 backup files
Windows backup files are not normal zip files.rvheddeg wrote:Thanks for the help, but this seems not to work on Windows 7 Backup files (Created in Windows 10 with the windows backup program).
I have created such a file and then removed everything except a file in a subdirectory. Doing that I noticed 3 strange issues:
- In these windows backup file, if you remove the last file in a subdirectory, the whole tree is removed up to a non null tree.
- If you copy the contents from a windows zip into another zip, the 2 zip files have a different size (the latter is greater. See also included samples)
- The search for directories don't work on those windows zip files...
To recreate I have uploaded 2 files (for 30 days):
Windows Backup.zip
TC made Backup.zip
Try to search for "Postman", only the "Tc made Backup.zip" is returned
Version: Total Commander (x64) 9.12
Most backup programs produce binary files which can't be searched.
IF you want that use a backup program which can mount its backup files
as drive, Macrium Reflect for example.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3672)
TC 11.03 x64 / x86
Everything 1.5.0.1378a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1378a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
2Horst.Epp
Please, verify the things you say before posting untruths.
2rvheddeg
This is normal behavior. ZIP archives can contain directories or relative paths. The latter won't be found with TC search. Compare these outputs:
In the first output you see the directories themselves are in the archive. In the second output you see only a relative path to a file, but not any directories.
This is not a bug, although it's not a good behavior either. I myself stumbled upon this issue years ago - see this post/thread in the German subforum.
Regards
Dalai
Please, verify the things you say before posting untruths.
2rvheddeg
This is normal behavior. ZIP archives can contain directories or relative paths. The latter won't be found with TC search. Compare these outputs:
Code: Select all
C:\>unzip_6.00_win32.exe -l "h:\tc-made-backup.zip"
Archive: h:/tc-made-backup.zip
Length Date Time Name
--------- ---------- ----- ----
0 11.06.2018 14:44 C/
0 11.06.2018 15:03 C/Users/
0 10.06.2018 20:08 C/Users/tmp/
0 11.06.2018 15:03 C/Users/tmp/AppData/
0 11.06.2018 15:03 C/Users/tmp/AppData/Roaming/
0 11.06.2018 15:03 C/Users/tmp/AppData/Roaming/Postman/
0 10.06.2018 20:08 C/Users/tmp/AppData/Roaming/Postman/QuotaManager-journal
--------- -------
0 7 files
Code: Select all
C:\>unzip_6.00_win32.exe -l "h:\windows-backup.zip"
Archive: h:/windows-backup.zip
Length Date Time Name
--------- ---------- ----- ----
0 10.06.2018 20:08 C/Users/tmp/AppData\Roaming\Postman\QuotaManager-journal
--------- -------
0 1 file
This is not a bug, although it's not a good behavior either. I myself stumbled upon this issue years ago - see this post/thread in the German subforum.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
@Dalai,
This explains the issue quite well. I thought something like that already, but couldn't find any info for it.
It's sad though that this issue is still not fixed. For a user, there's really no difference between the 2 zip files. So TC is letting me down on one of them... without given any notice.
And it is as you say in your old post, TC can traverse both those files as if they are the same.
(Do you know if one can mix absolute (~directories) and relative paths in 1 zip file. If not, TC could use this when searching those files...)
EDIT: I just tested this and it seems indeed possible to mix those. But the directory separators change from "/" to "\"...
Is there any hope that this will be fixed, euh... I mean improved eventually? (I know that you are not the author)
Thanks for the explanation!
Rvheddeg
This explains the issue quite well. I thought something like that already, but couldn't find any info for it.
It's sad though that this issue is still not fixed. For a user, there's really no difference between the 2 zip files. So TC is letting me down on one of them... without given any notice.
And it is as you say in your old post, TC can traverse both those files as if they are the same.
(Do you know if one can mix absolute (~directories) and relative paths in 1 zip file. If not, TC could use this when searching those files...)
EDIT: I just tested this and it seems indeed possible to mix those. But the directory separators change from "/" to "\"...
Is there any hope that this will be fixed, euh... I mean improved eventually? (I know that you are not the author)
Thanks for the explanation!
Rvheddeg
Good question. I certainly hope so, but I also imagine that it's a lot of work for Ghisler to do it. In the end, only he can answer this question.rvheddeg wrote:Is there any hope that this will be fixed, euh... I mean improved eventually? (I know that you are not the author)
You're welcome.Thanks for the explanation!
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror