Feature request: confirm data loss when renaming folder with ignored files
"Jorge P. de Morais Neto" <[email protected]>
| Newsgroups | gmane.network.unison.general |
|---|---|
| Message-ID | <[email protected]> |
Hi everyone! I hope you are doing well. Unison manual does warn: > Be careful about renaming directories containing ignored > files. Because Unison understands the rename as a delete plus a > create, any ignored files in the directory will be lost (since they > are invisible to Unison and therefore they do not get recreated in the > new version of the directory). I have just triggered that scenario and lost my Elfeed¹ database. I had only an old backup. Yes, I should have been more careful, but human users have imperfect attention and Unison behavior is error-prone. Why does Unison not warn the user and confirm when renaming directories with ignored files? This suggestions seems to me to have good cost-benefit. I cannot help with implementation, but maybe I can help with testing. I am on Gentoo GNU/Linux using unison 2.51.5 (ocaml 4.14.1). Regards! ¹ https://urldefense.com/v3/__https://github.com/skeeto/elfeed__;!!IBzWLUs!SvZXmXsOrFwD_QXm1X70aAT5CSuPKN96pNb3NRSB6mD6No00ZIz6OVtv2WdexuA4NYdaGkV0pX36M9qdGlkXP9SoAqA$ -- - Adopt libre formats and protocols like PDF, Org, LaTeX, ODF, Opus, WebM and 7z. - Libre apps for AOSP (Replicant, LineageOS etc.), Android: https://urldefense.com/v3/__https://f-droid.org/__;!!IBzWLUs!SvZXmXsOrFwD_QXm1X70aAT5CSuPKN96pNb3NRSB6mD6No00ZIz6OVtv2WdexuA4NYdaGkV0pX36M9qdGlkXQlkIYXU$ - https://urldefense.com/v3/__https://www.gnu.org/philosophy/free-sw.html__;!!IBzWLUs!SvZXmXsOrFwD_QXm1X70aAT5CSuPKN96pNb3NRSB6mD6No00ZIz6OVtv2WdexuA4NYdaGkV0pX36M9qdGlkXvvLClsk$ "What is free software?" - Many people hate injustice but few check the facts; this causes more injustice. Ask me about <https://urldefense.com/v3/__https://stallmansupport.org__;!!IBzWLUs!SvZXmXsOrFwD_QXm1X70aAT5CSuPKN96pNb3NRSB6mD6No00ZIz6OVtv2WdexuA4NYdaGkV0pX36M9qdGlkXQTnIb70$ > -- To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].