首页 > 系统相关 >Linux split package into more parts

Linux split package into more parts

时间:2022-10-18 14:34:54浏览次数:40  
标签:set tar package into gz parts split

Sometimes their single package space is limited, just like no bigger than 10M for each document, in these conditions, we need split the big one into more pieces.

tar -czvf xxx.tar.gz file_directory

split -b 5M -d -a 1 xxx.tar.gz xxx.tar.gz.   pay attention to the dot (.) at the end of the command.

//Use the split command. - b 5M means to set the size of each split package. The unit is k is working.
//The - d "parameter specifies that the generated packet splitting suffix is in the form of a number
//-A x to set the length of the sequence (the default value is 2), here the length of the sequence is set to 1

标签:set,tar,package,into,gz,parts,split
From: https://www.cnblogs.com/kean0048/p/16802456.html

相关文章

  • 【python】Could not install packages due to an EnvironmentError: [WinError 5] 拒
    CouldnotinstallpackagesduetoanEnvironmentError:[WinError5]拒绝访问等系列问题起初是想对python里面matplotlib进行下载方法一Win+R输入cmd进入到CMD窗口下,执......
  • Dive into deep learning
    前言虽然pytorch等框架已经有现成的函数不用我们再重复造轮子,但是自己实现对于我们“炼丹”有很大的好处,基于此我想把我学习过程中遇到的一些函数,给写下来,方便自己理解。......
  • MVN命令之clean,compile,build,install,package区别
    1、clean:执行该命令会删除项目路径下的target文件,但是不会删除本地的maven仓库已经生成的jar文件2、compile:编译命令,只编译选定的目标,不管之前是否已经编译过,会在你的项目......
  • 解决 Optional int parameter 'postId' is present but cannot be translated into a
    问题:在构造函数中传入整型的postId属性后报错,错误如下:Optionalintparameter'postId'ispresentbutcannotbetranslatedintoanullvalueduetobeingdeclared......
  • C#更新packages
    有时重新clone代码到本地时,会出现references中引用的包报错,这时可以重新更新下载这些包:在VS工具栏中,Tools→NuGetPackageManager→PackageManagerConsole输入Update-......
  • ubuntu Error: You must install at least one postgresql-client-<version> package
    ubuntu系统上执行psql报错Warning:Noexistingclusterissuitableasadefaulttarget.Pleaseseemanpg_wrapper(1)howtospecifyone.Error:Youmustinsta......
  • vuepress 运行报错 Vue packages version mismatch:
    vuepress运行报错Vuepackagesversionmismatch:D:\vuepress-test>npmrundocs:devnpmWARNconfigglobal`--global`,`--local`aredeprecated.Use`--location......
  • package.json 与 package-lock.json 的关系
    模块化开发在前端越来越流行,使用node和npm可以很方便的下载管理项目所需的依赖模块。package.json用来描述项目及项目所依赖的模块信息。那 package-lock.json 和......
  • patch-package给npm包打补丁
    需要修改npm依赖包,可以借助patch-package修改并保留对npm依赖项的修改。1.安装patch-packagenpmpatch-package--save-dev2.修改npm包3.生成补丁npxpatch-package......
  • package.json
    package.json是什么?npm是前端开发人员广泛使用的包管理工具,项目中通过package.json来管理项目中所依赖的npm包的配置。package.json就是一个json文件,除了能够描述项目的包......