aboutsummaryrefslogtreecommitdiff
path: root/Documentation/MANPAGE.md
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-06-20 12:28:20 +0200
committerJakob Unterwurzacher2021-06-20 18:09:21 +0200
commitcdddd1d711c3398aa1093090296139aa3d331859 (patch)
tree14597ec1e73d6a056912c3cb4cf22c4412295c21 /Documentation/MANPAGE.md
parent9ac77d42d1c2f56018eb5bcb4e2265d78d572e8c (diff)
MANPAGE: describe -badname
Diffstat (limited to 'Documentation/MANPAGE.md')
-rw-r--r--Documentation/MANPAGE.md25
1 files changed, 25 insertions, 0 deletions
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