nextcloud / nextcloud/workflow_script

request: Add filter for folders

Open
#26 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
89
Forks
19
Avg merge
6h 38m
Merged PRs (30d)
3

Description

It would be great to have additionally a rule to filter for folders.

Example:
All my phone photos get uploaded to a folder called PhonePhotos. I want to process them bot not any photos uploaded into any other folder. Of course I can add this into my script, but that is waste of resources.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing workflow rules that filter files and tracing how a rule selects files before invoking an external script. Define the folder-matching behavior from the PhonePhotos example, including which other folders must be excluded, and verify that only matching files are processed.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.