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


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux