From cdddd1d711c3398aa1093090296139aa3d331859 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 20 Jun 2021 12:28:20 +0200 Subject: MANPAGE: describe -badname --- Documentation/MANPAGE.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Documentation/MANPAGE.md b/Documentation/MANPAGE.md index 9ddf674..648a6c7 100644 --- a/Documentation/MANPAGE.md +++ b/Documentation/MANPAGE.md @@ -152,6 +152,31 @@ other users, subject to file permission checking. Only works if user_allow_other is set in /etc/fuse.conf. This option is equivalent to "allow_other" plus "default_permissions" described in fuse(8). +#### -badname string +When gocryptfs encounters a "bad" file name (cannot be decrypted or decrypts +to garbage), a warning is logged and the file is hidden from the +plaintext view. + +With the `-badname` option, you can select "bad" file names that should +still be shown in the plaintext view instead of hiding them. Bad files +will get ` GOCRYPTFS_BAD_NAME` appended to their name. + +Glob pattern. Can be passed multiple times for multiple patterns. + +Examples: + +Dropbox sync conflicts: + + -badname '*conflicted copy*' + +Syncthing sync conflicts: + + -badname '*.sync-conflict*' + +Show all invalid filenames: + + -badname '*' + #### -ctlsock string Create a control socket at the specified location. The socket can be used to decrypt and encrypt paths inside the filesystem. When using -- cgit v1.2.3