Skip to content

sohonetlabs/swift-sum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swift-sum

Calculates the checksum of the object (md5) including the SLO and DLO segment caluclations http://docs.openstack.org/developer/swift/overview_large_objects.html http://docs.openstack.org/developer/swift/misc.html#slo-doc

usage: swiftsum [-h] [-s SEGMENT_SIZE] [-r READ_SIZE] [-v] [-x] filename [filename ...]

Calculates the checksum of the object including SLO and DLO segments. By default swiftsum will print out 2 lines for a segmented file, the first being the MD5 of the file, the 2nd the segment hash. For files less than the segment size only the MD5 is printed out.

positional arguments: filename file name to check

optional arguments: -h, --help show this help message and exit -s SEGMENT_SIZE, --segmentsize SEGMENT_SIZE File segment size (default: 1Gi) -r READ_SIZE, --readsize READ_SIZE Segment size to read from disk (default: 40Mi) -v, --verbose Verbose (default: off). -x, --osx OS X md5 output (default: Linux md5sum format).

About

calculates the checksum of the object including slo and dlo segments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages