Skip to content

Use for optimizing backup of large files. Disect large file into 1MB chunks and hash each chunk. Each hash is then compared to a hash for the respective chunk in the previous version of the file. Chunk gets copied into the old file and backed up iff hashes differ.

License

Notifications You must be signed in to change notification settings

anabanami/megachonker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

megachonker

Use megachonker for optimizing the backup of large files.

Installation command sudo pip install megachonker

usage

usage: megachonker [-h] [-q] in_file out_file

Use megachonker for optimizing the backup of large files. megachonker dissects
in_file into 1MB chunks and hashes each chunk. Each hash is then compared to a
hash for the respective chunk in out_file. The chunk gets copied into out_file
if hashes differ. A file <out_file>.hashes will be stored alongside out_file.
megachonker copies all file attributes of in_file to out_file. If in_file and
out_file have identical modification times then megachonker does nothing.

positional arguments:
  in_file      This is the file to be chunked, hashed and copied
  out_file     This is the backed up version of the file

optional arguments:
  -h, --help   show this help message and exit
  -q, --quiet  Do not show any output.

About

Use for optimizing backup of large files. Disect large file into 1MB chunks and hash each chunk. Each hash is then compared to a hash for the respective chunk in the previous version of the file. Chunk gets copied into the old file and backed up iff hashes differ.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages