-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
occ groupfolders:scan
: scan only a specific folder like occ files:scan --path
#1168
Comments
sudo -u www-data php occ groupfolders:scan 104/my/uploads/ Regards |
hi @flowzen1337 Does my previous command help you ? If so be free to close the issue |
Will check tomorrow as i don’t have a computer around at the Moment and close it if it works, thanks in advance :-) cheers |
Doesnt work as expected, check my comment below :-( |
@ZeikoFr - Sorry, i have to reopen it, the problem is that the scan command doesnt scan the given directory only, it seems it scans the full Groupfolder: For example:
But when there are already many files and paths in the folder the scanning seems to scan all files inside the groupfolders instead of just the given path:
As you can see in the output it scanned 416 folders with 122 files and took over a minute instead of just scanning the given directory and the files included :-( |
This comment has been minimized.
This comment has been minimized.
occ groupfolders:scan
: scan only a specific folder like occ files:scan --path
Hi @flowzen1337 @Zegorax, I needed the same feature so I created a pull request. You can specify the path with |
Hi @flowzen1337 ✋ maybe you can test #2232 and provide feedback? |
Hi,
currently i use
#occ groupfolders:scan <folder_id> → trigger a filescan for a group folder
occ groupfolders:scan 104
for scanning a groupfolder, but what i want is to scan only a exact given path:
#occ groupfolders:scanpath <path> → trigger a filescan for a group folder specific path
occ groupfolders:scanpath 104/my/uploads/ → trigger a filescan for a group folder specific path
So that only the "104/my/uploads" is scanned and not the whole groupfolder with id "104" as it takes very long if there are many files/folders in it that are already known.
Is that possible somehow?
Thanks in advance! 👍
Cheers
The text was updated successfully, but these errors were encountered: