看板FreeBSD
标 题Re: [问题] 无法tar @这个目录
发信站SF (Thu Dec 21 00:15:21 2006)
转信站ptt!ctu-reader!ctu-peer!news.nctu!netnews.chu!Leo.mi.chu!SF
※ 引述《[email protected] (aq)》之铭言:
: ※ 引述《chiouss (Alive a Life)》之铭言:
: : 顺序没差吧 =.=
: 如果我没记错
: f之後不可以接其他指令 也就是说 f之後得要接档案名称
: 其他的顺序似乎就没差了...
: http://linux.vbird.org/linux_basic/0240tarcompress.php#tar
AHS [~] -joehorn- mkdir test
AHS [~] -joehorn- cd test/
AHS [~/test] -joehorn- ls
AHS [~/test] -joehorn- touch 1 2 3 4
AHS [~/test] -joehorn- ls -l
total 0
-rw-r--r-- 1 joehorn joehorn 0 12 21 00:13 1
-rw-r--r-- 1 joehorn joehorn 0 12 21 00:13 2
-rw-r--r-- 1 joehorn joehorn 0 12 21 00:13 3
-rw-r--r-- 1 joehorn joehorn 0 12 21 00:13 4
AHS [~/test] -joehorn- tar
cvfz 5.tgz *
a 1
a 2
a 3
a 4
AHS [~/test] -joehorn- ls -l
total 2
-rw-r--r-- 1 joehorn joehorn 0 12 21 00:13 1
-rw-r--r-- 1 joehorn joehorn 0 12 21 00:13 2
-rw-r--r-- 1 joehorn joehorn 0 12 21 00:13 3
-rw-r--r-- 1 joehorn joehorn 0 12 21 00:13 4
-rw-r--r-- 1 joehorn joehorn 144 12 21 00:14 5.tgz
--
Linux is for people who want to know why it works.
Mac is for people who don't want to know why it works.
DOS is for people who want to know why it does not work.
Windows is for people who don't want to know why it does not work.
--
※Origin:星 情 小 筑 < Star.leobbs.net >
※From: 59-113-163-230.dynamic.hinet.net