Linux zip命令详解
2023-09-11 14:20:11 时间
zip常见命令参数
Usage: zip [-options] [-b path] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list] The default action is to add or replace zipfile entries from list, which can include the special name - to compress standard input. If zipfile and list are omitted, zip compresses stdin to stdout. -f freshen: only changed files -u update: only changed or new files -d delete entries in zipfile -m move into zipfile (delete OS files) -r recurse into directories -j junk (don't record) directory names -0 store only -l convert LF to CR LF (-ll CR LF to LF) -1 compress faster -9 compress better -q quiet operation -v verbose operation/print version info -c add one-line comments -z add zipfile comment -@ read names from stdin -o make zipfile as old as latest entry -x exclude the following names -i include only the following names -F fix zipfile (-FF try harder) -D do not add directory entries -A adjust self-extracting exe -J junk zipfile prefix (unzipsfx) -T test zipfile integrity -X eXclude eXtra file attributes -y store symbolic links as the link instead of the referenced file -e encrypt -n don't compress these suffixes -h2 show more help
常用的命令展示
解压:unzip hhhh.tar.zip
压缩:zip hhhh.tar.zip hhhh/
相关文章
- 每天一个linux命令(24):Linux文件类型与扩展名
- linux下tar.gz、tar、bz2、zip等解压缩、压缩命令小结
- Linux基础之windows linux双系统
- Linux的文件压缩——tar和zip命令
- Linux压缩和解压包常用命令:gzip tar zip/unzip命令使用示例
- Linux 下面解压zip、.tar.gz 和.gz文件解压的方式
- linux学习之八---Linux进程基础知识
- L83.linux命令每日一练 -- 第11章 Linux系统管理命令 -- ipcs和ipcrm
- L80.linux命令每日一练 -- 第11章 Linux系统管理命令 -- ntsysv和setup
- L72.linux命令每日一练 -- 第十章 Linux网络管理命令 -- mail和nslookup
- L70.linux命令每日一练 -- 第十章 Linux网络管理命令 -- nc和ssh
- L67.linux命令每日一练 -- 第十章 Linux网络管理命令 -- netstat和ss
- L63.linux命令每日一练 -- 第九章 Linux进程管理命令 -- runlevel、init和service
- L62.linux命令每日一练 -- 第九章 Linux进程管理命令 -- strace和ltrace
- L54.linux命令每日一练 -- 第八章 Linux磁盘与文件系统管理命令 -- umount和df
- L49.linux命令每日一练 -- 第八章 Linux磁盘与文件系统管理命令 -- fdisk和partprobe
- L48.linux命令每日一练 -- 第七章 Linux用户管理及用户信息查询命令 -- last、lastb和lastlog
- L47.linux命令每日一练 -- 第七章 Linux用户管理及用户信息查询命令 -- users和whoami
- L31.linux命令每日一练 -- 第五章 Linux信息显示与搜索文件命令 -- uname和hostname
- L2.linux命令每日一练 -- 第一章 Linux命令行简介
- Linux测网速
- linux 压缩命令 zip
- 02 从头开始atac项目 ubuntu20 install r4.2 Linux系统环境配置 服务器版本的rstudio r install in linux /ubuntu/centos