ado wrote:Balderstrom wrote:
GZIP and BZIP are single file compressors, and are next to useless without TAR.
let me give you example:
I have process that generates logfile. This log file is rolled-over every 12 or 24 hrs and is quite big (let's say ~1GB). Now I want to keep these logs for let's say one week and then I can delete them.
So I keep current log and previous as it is generated, i.e. taking each up to 1GB and the rest of them till those 7 days I keep gzipped. Each time I am rolling over log, I am gzipping previous one, renaming current to previous and deleting the oldest gz file.... I have simply one version of log file for a day gzipped or no
ado
Sure, but those individual .gz logs (which btw bzip2 is better for text, up to 100%+ better) could all be kept in a Rar for example - there is so much similiarity from one file to the next that the Rar of all of them would not take up much more space than a .gz of a single log.
Rar would also allow you to, IIRC, set how many Versions of backups you want to keep in the rar.
But if you are just telling me that bz/gz sometimes do have uses for a singlefile, then yes...I agree - thats why I said (mostly|next to) useless without Tar instead of '"completely" useless without Tar'
In general I agree with this thread though, the functionality of searching within what TC considers archives is not optimal at best.
For example, say I want to find "msmq.cpl" in a bunch of MS Hotfixes, I have already found this, I know for a fact it is in this one: Windows2000-KB891861-v2-x86-ENU.EXE
IF I do a search for msmq.cpl, and click "[x] search archives" - then TC does not find the file.
IF I do a search for Text: msmq.cpl, then TC does find the "file".
The problem with the latter is it will also find matches of msmq.cpl in files inside the archives, such as in the .exe/.dlls etc inside the hotfixes.
This is most readily apparent if you try and search for User32.dll or the like, it is actually only in a one or two of them, but that "string" is in almost all of the .exe+.dlls inside the Hotfixes, so TC reports that almost all the Hotfixes contain User32.dll "text", and if I do a search for file User32.dll - then TC reports that NONE of the Hotfixes contain it.