Ensim backup file fixer 2005-06-22

Ensim backup file fixer is a Perl script that can fix an Ensim file.
When the Ensim web site control panel does backups, the files it creates are often corrupt. The reason seems to be that the server side sends a byte of empty data ever minute or so to stop HTTP connections timing out while the backup tarball is created. The result of this is that user's can't extract files from their backup tarballs using tar - tar says the file is corrupt.

To fix these corrupt Ensim backup files, I wrote a simple tool in perl to remove these bytes of leading data. Ensim backup file fixer is a simple command line program.

OPTIONS:

--buffer-size=n

Set the buffer size. This is the amount of data (in bytes) that will be read into memory before being written to the output file. It's generally a good idea to make n some exponent of 2. The default is 1048576 (2^20), which should be just fine for most people.

--debug

Print diagnostic messages while executing (on standard error).

--help

Print a help message - syntax and option details.

--output-file=f

By default the program writes to standard output. Using this option the user may specify an output file, f, without using shell re-direction. May be useful for heathen users of *csh who want to read debugging output, but can't re-direct stdout and stderr separatley.

--version

Print the program description and version.

last updated on:
September 26th, 2006, 13:55 GMT
price:
FREE!
developed by:
Matthew Gates
homepage:
porpoisehead.net
license type:
GPL (GNU General Public License) 
category:
ROOT \ Utilities

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!
1 Screenshot
Ensim backup file fixer

Add your review!

SUBMIT