No (not directly, except overwriting directories with content),
but cpdup can; see "man cpdup" for details and inspiration.
True, but cpdup is not part of the base system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailma
I apparently reinvented the wheel. :-)
Thanks for the link, it is indeed very inspiring.
Quoting Ciprian Dorin Craciun :
On Sat, Jan 5, 2013 at 8:12 PM, wrote:
I have been wondering whether it is possible to create a backup system
using mtree and rsync. Essentially, the user would create a m
On Sat, Jan 5, 2013 at 8:12 PM, wrote:
> I have been wondering whether it is possible to create a backup system
> using mtree and rsync. Essentially, the user would create a mtree
> specification of the source directory and copy it over to the destination
> directory with rsync. Any changes in th
On Tue, 08 Jan 2013 15:57:39 -0200, schu...@ime.usp.br wrote:
> > It's possible that the mtree support in tar(8) might be able to do it,
> > but it would probably be a lot slower.
>
> Wait, can tar be used to remove files?
No (not directly, except overwriting directories with content),
but cpdup
I don't see any way to do this directly. What you probably want to do is
use find(1) to pick out the new files to check, and then merge the
changes into the old mtree(8) spec. Not trivial, but the spec syntax is
intended to be easy to parse, so it shouldn't be that hard either.
What I am current
schu...@ime.usp.br writes:
> I have been wondering whether it is possible to create a backup system
> using mtree and rsync. Essentially, the user would create a mtree
> specification of the source directory and copy it over to the destination
> directory with rsync. Any changes in the destination
I have been wondering whether it is possible to create a backup system
using mtree and rsync. Essentially, the user would create a mtree
specification of the source directory and copy it over to the destination
directory with rsync. Any changes in the destination could then be
detected before rest