Re: Trying to Upgrade Version of Tar on a 5.3 System.
On Thu, Mar 15, 2007 at 11:23:24AM -0500, Martin McCormick wrote: > Will either freetar or gtar give me the capability to > use a reference file to only get the new files that have either > appeared or changed since yesterday? There's always find+cpio if you're interested. find /what/ever -mtime -1 -print | cpio -o -H ustar > file.tar Cheers. -- Jonathan Chen <[EMAIL PROTECTED]> -- "Lots of folks confuse bad management with destiny" - Kin Hubbard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trying to Upgrade Version of Tar on a 5.3 System.
In the last episode (Mar 15), Martin McCormick said: > I am transfering all our working group files from a > FreeBSD5.3 platform to a bigger, faster and FreeBSD6.2 system. > I discovered that bsdtar on the 5.3 system doesn't appear to > have the --newer-than feature in which you only archive files > newer than either a given date or a reference file such as the > last monster tar ball from, say, /usr/home. [..] > Will either freetar or gtar give me the capability to > use a reference file to only get the new files that have either > appeared or changed since yesterday? gtar has the --newer and --newer-mtime options, which should suffice for what you need. You could also build the latest bsdtar from http://people.freebsd.org/~kientzle/libarchive/ , but since you just need it for this one operation, building gtar from ports is probably easier. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Trying to Upgrade Version of Tar on a 5.3 System.
I am transfering all our working group files from a FreeBSD5.3 platform to a bigger, faster and FreeBSD6.2 system. I discovered that bsdtar on the 5.3 system doesn't appear to have the --newer-than feature in which you only archive files newer than either a given date or a reference file such as the last monster tar ball from, say, /usr/home. The plan was to copy the monster tar ball over which has happened without problems, and then do a second pass just before we shut the older system down and pick up everybody's files which have changed in a hopefully much smaller tar ball which can then be overlayed to bring everything up to date as to what it was on the old system. The ports collection has gtar and freetar and the older system is using the bsdtar that unpacked from the iso image so it would not be productive to try to install what I already have as there is nothing wrong. Will either freetar or gtar give me the capability to use a reference file to only get the new files that have either appeared or changed since yesterday? Is there another way to use the existing tar that I might have missed that does the same thing? Thanks. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Network Operations Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"