some useful tar options
来源:互联网 发布:双色球大赢家缩水软件 编辑:程序博客网 时间:2024/06/15 07:31
When extracting files, drop the hierarchical folder structure --strip-components
.
Only extract an specific element, just show the contents with -t
option and then add the component after the command.
# tar zxvf pack.tar.gz dir1/file.txt# tar zxvf pack.tar.gz dir1/file.txt --strip-components=1
0 0
- some useful tar options
- Some Useful -XX Options
- Java options --Some Useful -XX Options
- some useful links
- Some useful expressions
- some useful websit
- Some useful TextBox Validations
- some useful URL
- Some useful linux commands
- some useful code
- Some useful DQL tips
- Some useful tools
- Some useful english words
- some useful Linux commands
- some useful technology english
- Some useful Eclipse hotkey
- Some useful websites
- GRUB2 Some Useful Commands
- 每天一个linux命令(11):nl命令
- C#异步跟踪exe输出并输出到RichTextBox
- KVO使用过程中的陷阱
- 多线程和多进程模型的选用
- offsetLeft到浏览器边用回溯替代的方法
- some useful tar options
- mvc简介
- 线程间通信
- DNS协议解析1--DNS请求协议
- C语言的标识符命名规则
- Codeforces #Round 321 Div2
- light1358 - Fukushima Nuclear Blast【圆与多边形面积的交+二分】
- 网站API自动化测试利器——Postman
- BNUOJ39566 Do use segment tree (树链剖分+维护区间最大连续和)