Delete Files/folders

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
jcinternetstuff
Posts: 2
Joined: 29 Apr 2016 10:41

Delete Files/folders

Post by jcinternetstuff » 19 Jun 2016 06:48

The ability to delete one folder per action is great but to delete multiple folders per multiple actions is quite a manual task to configure.

It would be great to be able to select multiple folders or files for deletion by only one action.

Thanks.

User avatar
Bushmills
Posts: 286
Joined: 23 Sep 2014 21:56

Re: Delete Files/folders

Post by Bushmills » 19 Jun 2016 07:51

You can execute a shell command from an action. rm or rmdir allow a list of files or directories as arguments. Also recursive deletion could be a possibility, though I'm not sure whether your on-board commands already do that, or whether a more complete command set or shell is needed for this.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Delete Files/folders

Post by Martin » 19 Jun 2016 18:51

You can use glob patterns to delete multiple folders/files in one action when the names are similar. You can also set a comma separated list of files/folders to delete. Just add a comma as the last character in the field and use the built-in file browser to select the next file.

jcinternetstuff
Posts: 2
Joined: 29 Apr 2016 10:41

Re: Delete Files/folders

Post by jcinternetstuff » 23 Jul 2016 11:50

Thank you for the reply!

Locked