Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[cli] Add list of filters

Neeraj Gupta7d8a7257b40a
diff --git a/cli/pkg/model/export/filter.go b/cli/pkg/model/export/filter.go
new file mode 100644
index 0000000000..742d5fef38
--- /dev/null
+++ b/cli/pkg/model/export/filter.go
@@ -0,0 +1,14 @@
+package export
+
+type Filters struct {
+ // When true, none of the shared albums are exported
+ ExcludeShared bool
+ // When true, none of the shared files are exported
+ ExcludeSharedFiles bool
+ // When true, hidden albums are not exported
+ ExcludeHidden bool
+ // when album name is provided, only files in those albums are exported
+ Albums []string
+ // when email is provided, only files shared with that email are exported
+ Emails []string
+}