当前位置: 首页 > OpenSource > 正文
tar 解压部分文件
Aug062008
作者:2hei 发布:2008-08-06 19:48 分类:OpenSource 阅读:2,823 views tar 解压部分文件已关闭评论
tar命令大家都很熟悉了
这里整理一下部分解压,只解压出需要的文件,
这样就解决了tar包过大的情况下,解压速度太慢、解压后占用空间过大的问题
几个步骤:
查看tar包内包含的文件,如果已经知道这一步可免
tar -tzvf u2file.tar.gz
-rw-r–r– user/user 45489156 2008-08-04 23:59:46 foder/access.log.20080804
-rw-r–r– user/user 37469223 2008-08-05 23:59:46 foder/access.log.20080805
#解压单个文件
tar -zxvf u2file.tar.gz foder/access.log.0805
#解压多个文件
tar -zxvf u2file.tar.gz foder/access.log.*
#解压到指定目录
tar -xzvf u2file.tar.gz foder/access.log.0805 -C /new/dir/ # -C 指定解压到的目录.
该日志由 2hei 于2008年08月06日发表在 OpenSource 分类下,
原创文章转载请注明: tar 解压部分文件 | 二黑的站点
关键字: tar
原创文章转载请注明: tar 解压部分文件 | 二黑的站点
关键字: tar
您可能还会对这些文章感兴趣!
- Google’s iron grip on Android: Controlling open source by any means necessary
- nginx代理模式下,伪造X-Forwarded-For头的测试(6)
- 一个启用共享的bat文件
- 当SecureCRT异常关闭后,后台进程一同关闭的现象罪魁祸首 Signup信号(1)
- write nagios nrpe plugin(1)
- ffmpeg 安装常见问题的解决
- [notice] child pid 19818 exit signal Bus error (7)(1)
- Winamp lovers beg AOL to open source code
- ssh登陆到终端的时候去掉Your default context is root提示
- GitHub resets user passwords following rash of account hijack attacks
- 8.8.8.8-google-public-dns-for-free
- tcpping and Tcptraceroute’s use(1)
报歉!评论已关闭.
最新文章
- apache mod_python psp
- Connect to Dell iDRAC6 virtual console
- 使用rrdtoo resize修改已有rrd文件的数据量
- MAC下修改被HP打印机占用的8080端口
- mark: info.3g.qq 宕机
- mark:现在douban.com 豆瓣挂了
- postfix删除mail中的邮件列表
- Mozilla making progress with Firefox’s long journey to multiprocess
- munin监控jmx
- All of Wikipedia can be installed to your desktop in just 30 hours
- Winamp lovers beg AOL to open source code
- Microsoft brings rich node.js support to Visual Studio
- New backdoor worm found attacking websites running Apache Tomcat
- GitHub resets user passwords following rash of account hijack attacks
- Stability first: Ubuntu’s Mir won’t replace X in 14.04 desktop
- lvs ksoftirqd进程占用大量CPU
- monit 一个小巧的linux下监控/故障恢复工具
- nrpe Error: Could not complete SSL handshake. 5
- Canonical “abused trademark law” to target a site critical of Ubuntu privacy
- nagios check_udp 就是一残废
热门文章
- Linux Keyboard shortcut keys - 72,714 views
- mvnforum-1.0.0-rc3+resin+oracle9i下搭建 - 32,157 views
- linux下支持https的压力测试工具 - 19,762 views
- mark: info.3g.qq 宕机 - 17,182 views
- Cacti网络监控软件的安装、配置与使用连载 (2) — By 2hei - 16,194 views
- mark:现在douban.com 豆瓣挂了 - 13,355 views
- New backdoor worm found attacking websites running Apache Tomcat - 13,072 views
- nginx代理模式下,伪造X-Forwarded-For头的测试 - 11,637 views
- Code review 工具gerrit之体验 - 11,187 views
- 关于 - 10,579 views
标签云
alexa
apache
bash
BeautifulSoup
chm
discuz
django
dosevasive
driver
E63
EC2
facebooke
fastdfs
football
freebsd
google
hadoop
hbase
IaaS
java
jvm
kernel
linux
lua
mac
memcached
microsoft's bug
mod_deflate
mod_expires
mt install
mysql
nagios
nginx
openssh
oracle
php
python
R710
resin
rrdtool
shell
siege
ubuntu
vnc
xen
文章分类
- c (5)
- cloud (3)
- database (9)
- dfs (1)
- English (5)
- git (1)
- hbase (2)
- IaaS (2)
- IT (5)
- java (17)
- linux (22)
- live (9)
- nginx (8)
- OpenSource (123)
- other (4)
- others (113)
- php (2)
- python (23)
- resin (17)
- security (4)
- shell (7)
- ubuntu (1)
文章归档
- 2014年2月
- 2013年12月
- 2013年11月
- 2013年10月
- 2013年9月
- 2013年6月
- 2013年5月
- 2013年4月
- 2013年1月
- 2012年9月
- 2012年8月
- 2012年7月
- 2012年5月
- 2011年12月
- 2011年11月
- 2011年10月
- 2011年9月
- 2011年8月
- 2011年7月
- 2011年6月
- 2011年2月
- 2011年1月
- 2010年12月
- 2010年11月
- 2010年10月
- 2010年9月
- 2010年8月
- 2010年7月
- 2010年6月
- 2010年5月
- 2010年4月
- 2010年3月
- 2010年2月
- 2010年1月
- 2009年12月
- 2009年11月
- 2009年9月
- 2009年8月
- 2009年7月
- 2009年5月
- 2009年4月
- 2009年3月
- 2009年2月
- 2008年12月
- 2008年11月
- 2008年10月
- 2008年9月
- 2008年8月
- 2008年7月
- 2008年6月
- 2008年5月
- 2008年4月
- 2008年3月
- 2008年2月
- 2008年1月
- 2007年12月
- 2007年11月
- 2007年10月
- 2007年9月
- 2007年7月
- 2007年6月
- 2007年5月
- 2007年4月
- 2007年3月
- 2007年2月
- 2007年1月
- 2006年12月
最新评论
- 2hei发表在《mark: info.3g.qq 宕机》
- 2hei发表在《mark:现在douban.com 豆瓣挂了》
- 糖糖发表在《换掉Movable Type,启用Worldpress》
- free movie download发表在《sftp get “Connection closed”》
- Emory发表在《nginx代理模式下,伪造X-Forwarded-For头的测试》
- Juegos发表在《pdf and postscript》
- educational grants发表在《some Java decompilers — 一些java反编译工具》
- opthamologists发表在《[notice] child pid 19818 exit signal Bus error (7)》
- irie insurance发表在《linux下支持https的压力测试工具》
- registered nurse发表在《linux下支持https的压力测试工具》
最新日志热评日志随机日志
- apache mod_python psp
- Connect to Dell iDRAC6 virtual console
- 使用rrdtoo resize修改已有rrd文件的数据量
- MAC下修改被HP打印机占用的8080端口
- mark: info.3g.qq 宕机
- mark:现在douban.com 豆瓣挂了
- postfix删除mail中的邮件列表
- Mozilla making progress with Firefox’s long journey to multiprocess
- munin监控jmx
- All of Wikipedia can be installed to your desktop in just 30 hours
最新评论
糖糖:
埃母梯,是剁么的回晃;埃母梯,是free movie download:
i like it sftp iEmory:
It is very diffiJuegos:
I was surfing loeducational grants:
Thanks for an idopthamologists:
Thanks for someirie insurance:
Great writing! Iregistered nurse:
Wow this is a grliumingzhu:
🙂physical therapist:
It’s really a ni
标签云集
博客统计
- 日志总数:340 篇
- 评论总数:69 篇
- 标签数量:151 个
- 链接总数:0 个
- 建站日期:
- 运行天数:19511 天
- 最后更新:2017-9-18
最活跃的读者