question of tar

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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@localhost test1]$ rm -r 2
[cjzjm100@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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux