Skip to content

Final block in Actions #439

@Programazing

Description

@Programazing

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Since action runs once per file, it's challenging to have something trigger at the end of the run. I'm frustrated because, although I can echo something into a log file, it happens once per file.

Describe the solution you'd like
A clear and concise description of what you want to happen.

I want to see something like

rules:
  - name: "Move Documents to Documents directory"
    locations:
      - ~/Downloads
    filters:
      - name
      - extension:
          - txt
          - pdf
    actions:
      - move: ~/Documents
      - shell: 'echo "Moved {name} to Documents" >> ~/move_log.txt'
      - final:
           - shell: 'echo "All files moved at  {time} >> ~/move_log.txt"

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

I haven't, as I didn't see anything in the documentation that suggests this can be changed.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions