<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>https://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>https://jackxiang.com/post//</link>
<title><![CDATA[[实践OK]LINUX TAR 解压文件时指定文件名~tar解压到指定目录并且重名原始目录名，在被解压的包里面去掉一层目录。]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Unix/LinuxC技术]]></category>
<pubDate>Wed, 12 Jul 2017 02:31:00 +0000</pubDate> 
<guid>https://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	tar -xzvf mysql-5.6.15.tar.gz -C ./mysql-5.6.15 --strip-components 1<br/>实践：<br/><textarea name="code" class="php" rows="15" cols="100">
mkdir /usr/local/lib/codecs
tar -xvf /home/test/rpmbuild/SOURCES/essential-20071007.tar.bz2 -C /usr/local/lib/codecs --strip-components 1
</textarea><br/><br/>man tar<br/>tar --strip-components = NUMBER<br/>...skipping...<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --strip-components=NUMBER<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;strip NUMBER leading components from file names on extraction<br/><br/><br/><br/>tar -zxvf codes.doc.qr.cntv.net.tar.gz -C abc/. --strip-components 1<br/><br/>打包来自：codes.doc.qr.cntv.net&nbsp;&nbsp;codes.doc.qr.cntv.net.tar.gz<br/>再看解压后的目录无codes.doc.qr.cntv.net外层目录了：<br/>tree -L 1 abc/<br/>abc/<br/>├── Application<br/>├── index.php<br/>├── netchkrs<br/>├── Public<br/>├── showdoc.sql<br/>├── test.php<br/>├── Text<br/>└── ThinkPHP<br/><br/>实践来自：http://www.cnblogs.com/zxiaozhou/p/6068867.html
]]>
</description>
</item><item>
<link>https://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [实践OK]LINUX TAR 解压文件时指定文件名~tar解压到指定目录并且重名原始目录名，在被解压的包里面去掉一层目录。]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>