/change-the-md5

🎉 📝一个用来修改文件 MD5 值的命令行小工具

Primary LanguagePythonMIT LicenseMIT

change the MD5 The MIT License PyPI

有时候在使用某网盘的时候总会遇到文件无法上传或者是上传后无法分享的情况,所以抽了个时间写了个改变文件 MD5 值的小工具,目前只能算是基本能用吧,后续再继续完善。

安装

$ pip3 install ctmd5

使用

$ ctmd5 -h
usage: ctmd5.py [-h] [-s] [-v] FILE [-d] Dir_name 
# -f and -d are mutually exclusive

a cli tool used to change the MD5 of files

optional arguments:
  -f  -- file    the file you want to change md5
  -d  --dir      change the md5 value for each of the files in a given directory
  -h, --help     show this help message and exit
  -s, --show     show the md5 value
  -v, --version  show program's version number and exit

示例

运行

$ ctmd5 -s The.Big.Bang.Theory.mp4
before: 23aefe6872325590956548dec285849f
The md5 value has been changed.
after: 447e1bb20de228dcdead50db56415b7c

LICENSE

The MIT License @shkey