-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Add folder argument to files:scan-app-data #20626
Conversation
If you need to rescan something but don't feel like rescanning your whole preview stash. Signed-off-by: Roeland Jago Douma <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
-1 for your backlog ;) |
@@ -67,6 +68,8 @@ protected function configure() { | |||
$this | |||
->setName('files:scan-app-data') | |||
->setDescription('rescan the AppData folder'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
->setDescription('rescan the AppData folder'); | |
->setDescription('rescan the AppData folder') | |
->addArgument('folder', InputArgument::OPTIONAL, 'The appdata subfolder to scan', ''); |
LGTM 👍 I have some small suggestion while you're at it ;)
|
@kesselb mind to tackle them or file an issue? It is not really high on my priority list at the moment |
A question on this topic:
That sounds like based on this PR you are now able to exclude the preview folder while scanning the whole app-data folder. Is that the case or do I have to scan all other subfolders manually to be able to exclude the preview folder? |
The latter. There is no exclusion just selection of which folder to scan. |
Ok, thanks for the answer! |
Fix #12327
If you need to rescan something but don't feel like rescanning your
whole preview stash.
Signed-off-by: Roeland Jago Douma [email protected]