question of tar

cjzjm100 cjzjm100 at 163.com
Sun Apr 13 12:41:29 UTC 2008


Hi ,guys!
I had used the command:tar -N '2008/04/13' -zcvf test1.tar.gz . to
package some files. there are some files modified before 2008/04/13 in
the currently directory,but why they are in the test1.tar.gz too?
Here ware what i did:
[cjzjm100 at localhost test1]$ ll
total 28
drwxr-xr-x 4 cjzjm100 cjzjm100 4096 04-13 19:18 2
-rw-r--r-- 1 cjzjm100 cjzjm100 0 04-10 20:57 hello
-rw-r--r-- 1 cjzjm100 cjzjm100 0 04-01 00:00 hello1
-rw-r--r-- 1 cjzjm100 cjzjm100 0 04-10 21:18 hello2
drwxr--r-- 2 cjzjm100 cjzjm100 4096 04-13 17:11 testing
[cjzjm100 at localhost test1]$ rm -r 2
[cjzjm100 at localhost test1]$ tar -N '2008/04/13' -zcvf test1.tar.gz .
tar: Treating date `2008/04/13' as 2008-04-13 00:00:00 + 0 nanoseconds
./
./testing/
./testing/hello.c
./testing/hello2.c
./testing/hello
./hello1
./test1.tar.gz
./hello2
./hello
why the files modified before 2008/04/13 like hello were also in the
package?
there is a file named test1.tar.gz in the test1.tar.gz,why?

Reply With Quote





More information about the fedora-list mailing list