server icon indicating copy to clipboard operation
server copied to clipboard

Feature/files list occ command

Open yemkareems opened this issue 1 year ago • 1 comments

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

yemkareems avatar Feb 05 '24 01:02 yemkareems

@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.

yemkareems avatar Feb 05 '24 01:02 yemkareems

Closing as it move here: https://github.com/nextcloud/server/pull/46352

artonge avatar Jul 08 '24 09:07 artonge