Re: [BackupPC-users] What is the best way (using perl) to determine the length of a compressed backup file?
2008-11-02 16:07:31
Jeffrey writes:
> I have been considering the following:
> - Uncompressing the full file to determine its length..
> But this is very computationally inefficient for large files...
Right.
> - Unpacking attrib file but this seems
> This seems best, but I'm not sure what are the best/easiest
> subroutines for parsing the attrib file
> (I looked at Holger's BackupPC_attribCheck and to my naive eyes it
> looked pretty complicate)
Using the attrib file is the best way. See bin/BackupPC_attribPrint
for an example.
Craig
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|