Execute a program for each action performed

This is an feature request: execute a script for each action performed on server mode:

rclone serve webdav --addr :5080 --auth-proxy ~/bin/dav-auth.sh :local:/srv/dav --exec-options upload,dowload,delete,mkdir -exec-path /usr/local/bin/rclone-exec-option.sh

thnx a lot.

Interesting idea. What would you use that feature for?

What hooks could you imagine rclone using?

Would this work for other modes other than rclone serve?

actions to be taken when a user puts or retrieve files.

I could imagine making a general purpose "events" system for rclone. Maybe you could get the event stream over the API too.

Can you please make a new issue on github with your idea and we can discuss further with the other rclone devs.

:robot:

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.