Subject: Tar and Find Problem
To: NetBSD Users <netbsd-users@NetBSD.ORG>
From: Torsten Schlueter <t.schlueter@gmx.de>
List: netbsd-users
Date: 07/08/1998 11:09:20
-----BEGIN PGP SIGNED MESSAGE-----
Hi,
I was trying to update my Homepage when i noticed that it is not
possible (for me) to put only those files in an tar archive which were
changed.
I tried the following:
t-rex://usr/local/httpd/htdocs/ #find . -mtime 1 -print
and the output were the files which are changed today.
trying
tar -cvzf webneu.tgz -T /tmp/webneu.files (after creating the file
/tmp/webneu.files) or
tar cf ~/webneu.tar `find . -mtime 1 -print`
has the same result. The whole directory is added to the archive.
Whats wrong with those commands?
System Information:
uname -a:
NetBSD t-rex 1.3 NetBSD 1.3 (GENERIC) #0: Mon Jan 5 16:16:28 CST 1998
scott
r@beech:/amd/toaster/netbsd/src/sys/arch/hp300/compile/GENERIC hp300
GNU tar version 1.11.2
Thanks for your help.
-----BEGIN PGP SIGNATURE-----
Version: PGP 5.5.5
iQEVAwUBNaM3QI+s9ML1jPFVAQHPfQf9HI5uPR+xxzMT+pmpzGILxWXGt4sCTOh1
WoYLJ5HT4t32U5xahcXW1P7NU1ItXKYjq1wnU8hcFHVGfwWqO4BfcOYK1hmPfJQF
fQ8UEhnGysrOwuGotQ75AUewCiVq4n02yPdAW1PxOT8ZEgYFZfydfTTKef+sr2Gi
+N5LtCn85JoOOpG4SJ2u1VNAzks/1A+1lUKqdF7POccdO2xokS03b1j8k/xFCbO7
VSW0dq0uJCGiTatH78z9LOU2t3wsSOsPPWE5DqByxkwq3LO7qR/FnR15YJPLiydT
JEueu2QExOKgE2ayBcoYN8lvJ4i0zJLppaeY5Cm2qNzYSVCaTCYaOQ==
=fY3l
-----END PGP SIGNATURE-----