Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Provide a way to easily retrieve shared/public files or folder #479

Open
ZeHiro opened this issue Oct 25, 2016 · 1 comment
Open

Provide a way to easily retrieve shared/public files or folder #479

ZeHiro opened this issue Oct 25, 2016 · 1 comment

Comments

@ZeHiro
Copy link

ZeHiro commented Oct 25, 2016

The idea is to have an overview of all this files to be able to disactivate the shared/public files

@clochix
Copy link
Contributor

clochix commented Oct 31, 2016

I like this idea ☺

For now, if you're self-hosted, you can get the list of every shared files and folders by querying the database:

cozy-monitor curlcouch _design/file/_view/all | jq -r '.rows[] | .value | select(has("clearance")) | [.path, .name] | join("/")'
cozy-monitor curlcouch _design/folder/_view/all | jq -r '.rows[] | .value | select(has("clearance")) | [.path, .name] | join("/")'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants