From: "Alfred M. Szmidt" <ams@gnu.org>
To: Thierry Volpiatto <thievol@posteo.net>
Cc: eliz@gnu.org, emacs-devel@gnu.org
Subject: Re: c library for handling backup files?
Date: Wed, 21 Sep 2022 15:21:36 -0400 [thread overview]
Message-ID: <E1ob5Hs-0007sl-1h@fencepost.gnu.org> (raw)
In-Reply-To: <87r104y230.fsf@posteo.net> (message from Thierry Volpiatto on Wed, 21 Sep 2022 19:11:47 +0000)
>> From: "Alfred M. Szmidt" <ams@gnu.org>
>> Date: Wed, 21 Sep 2022 08:34:35 -0400
>>
>> Does anyone know of a C library for handling Emacs-like backup files?
>> E.g., if writing a file, the function would do the right thing.
>
> Coreutils do that, no? E.g., "cp -b".
dired-async.el provides a backup function similar to
cp -f --backup=numbered from to.
You might want to go to the optician, so you can Cee what you missed
in my message ... ;-)
next prev parent reply other threads:[~2022-09-21 19:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-21 12:34 c library for handling backup files? Alfred M. Szmidt
2022-09-21 13:06 ` Philip Kaludercic
2022-09-21 13:14 ` Andreas Schwab
2022-09-21 13:29 ` Alfred M. Szmidt
2022-09-21 13:15 ` Eli Zaretskii
2022-09-21 19:11 ` Thierry Volpiatto
2022-09-21 19:21 ` Alfred M. Szmidt [this message]
2022-09-21 20:50 ` Thierry Volpiatto
2022-09-22 4:43 ` tomas
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1ob5Hs-0007sl-1h@fencepost.gnu.org \
--to=ams@gnu.org \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=thievol@posteo.net \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).