Feature/files list occ command
files:list implemented based on files:scan List of possible usage
all user based search
occ files:list --all
path based search
occ files:list --path /admin/files
scans the directory and sub directory also
Filter by type
occ files:list --path /admin/files/Media --type video
occ files:list --path /admin/files/Media --type image
occ files:list --path /admin/files/ --type application
Filter by file size
occ files:list --path /admin/files/Media --minSize 9622690
occ files:list --path /admin/files/Media --maxSize 9622690
default sort order is desc
occ files:list --all --sort name
to do asc
occ files:list --all --sort name --order ASC
Non recursive scan and list
occ files:list --path /admin/files/ --shallow
The above does not scan sub directories recursively
All the above params can be combined to have different result sets
- Resolves: #
Summary
TODO
- [ ] ...
Checklist
- Code is properly formatted
- Sign-off message is added to all commits
- [ ] Tests (unit, integration, api and/or acceptance) are included
- [ ] Screenshots before/after for front-end changes
- [ ] Documentation (manuals or wiki) has been updated or is not required
- [ ] Backports requested where applicable (ex: critical bugfixes)
@AndyScherzinger @sorbaugh Please find the above file list implemented based on files:scan. I am not able add you as reviewers so tagged both of you in the comment here.
Closing as it move here: https://github.com/nextcloud/server/pull/46352