9front - general discussion about 9front
 help / color / mirror / Atom feed
From: qwx@sciops.net
To: 9front@9front.org
Subject: Re: [9front] Free Carrots #4: Making Backups
Date: Tue, 26 Apr 2022 13:42:01 +0200	[thread overview]
Message-ID: <86A85EA0F3ED25D8BFEA50C7FD8BD9E9@wopr.sciops.net> (raw)
In-Reply-To: <202e9c1d-00ab-45cf-8bf3-943651b68e47@sirjofri.de>

On Sat Apr 23 06:23:23 +0200 2022, sl@stanleylieber.com wrote:

> http://helpful.cat-v.org/Blog/2022/04/22/0/
> 
> sl

Hello,

I imagine that by now a whole bunch of people have come up with ways
to back things up or synchronize trees.  I've used mkfs(8) a lot, then
clone(1), etc., but I really wanted to also be able to remove files no
longer present (while not touching any mtimes for up-to-date stuff,
etc.).  After a bunch of iterations of scripts with diff(1) and
others, I now use derp(1) together with the equivalent of dircp(1) and
some awk [1].  This prints two commands, one to remove files, the
other to unpack new or modified ones.  Of course, it's slow and has
tar(1)'s filename length limit, but I kind of like it.  I'm very
interested in hearing about other solutions though :)

Cheers and thanks for the post,
qwx

[1] http://shithub.us/qwx/rc/HEAD/bin/syncab/raw

  parent reply	other threads:[~2022-04-26 11:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-23  4:22 Stanley Lieber
2022-04-25  6:21 ` igor
2022-04-25  7:37   ` kvik
2022-04-25 10:31     ` sirjofri
2022-04-25 10:39       ` Lyndon Nerenberg (VE7TFX/VE6BBM)
2022-04-25 12:32         ` hiro
2022-04-26 11:42       ` qwx [this message]
2022-04-26 14:23         ` Steve Simon
2022-04-27 23:30         ` sl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86A85EA0F3ED25D8BFEA50C7FD8BD9E9@wopr.sciops.net \
    --to=qwx@sciops.net \
    --cc=9front@9front.org \
    --subject='Re: [9front] Free Carrots #4: Making Backups' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).