RedHat/CentOS 大文件拆分及合并与md5验证

倖福魔咒の 提交于 2020-11-15 19:13:29

[root@tdh55 mnt]# cd /opt/
[root@tdh55 opt]# ll -h
-rw-r--r--. 1 root root 7.5G May 12 11:19 TDH-Image-Registry-Transwarp-5.1.2-final.tar.gz
[root@tdh55 opt]# ls
TDH-Image-Registry-Transwarp-5.1.2-final.tar.gz
[root@tdh55 opt]# md5sum TDH-Image-Registry-Transwarp-5.1.2-final.tar.gz
d692a0e5619e21a78cddeab590008e65 TDH-Image-Registry-Transwarp-5.1.2-final.tar.gz
[root@tdh55 opt]# split -b 1000m TDH-Image-Registry-Transwarp-5.1.2-final.tar.gz* TDH-Image-Registry-Transwarp-5.1.2-final.tar.gz
[root@tdh55 opt]# ls
TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzab TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzaf
TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzac TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzag
TDH-Image-Registry-Transwarp-5.1.2-final.tar.gz TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzad TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzah TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzaa TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzae
[root@tdh55 opt]# rm -rf TDH-Image-Registry-Transwarp-5.1.2-final.tar.gz
[root@tdh55 opt]# ls
TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzac TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzag
TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzad TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzah
TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzaa TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzae
TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzab TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzaf
[root@tdh55 opt]# cat TDH-Image-Registry-Transwarp-5.1.2-final.tar.gz* > TDH-Image-Registry-Transwarp-5.1.2-final.tar.gz
[root@tdh55 opt]# ls
TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzab TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzaf
TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzac TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzag
TDH-Image-Registry-Transwarp-5.1.2-final.tar.gz TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzad TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzah TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzaa TDH-Image-Registry-Transwarp-5.1.2-final.tar.gzae
[root@tdh55 opt]# md5sum TDH-Image-Registry-Transwarp-5.1.2-final.tar.gz
d692a0e5619e21a78cddeab590008e65 TDH-Image-Registry-Transwarp-5.1.2-final.tar.gz
[root@tdh55 opt]# ll -h
-rw-r--r-- 1 root root 7.5G Jul 5 19:05 TDH-Image-Registry-Transwarp-5.1.2-final.tar.gz

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!