Page 1 of 1

Refresh after shell command - possible?

Posted: 2022-01-07, 22:10 UTC
by Lee321987
I have a shell command button that renames files.
Is there any way to refresh after that command is run so I can see the new file names?

Re: Refresh after shell command - possible?

Posted: 2022-01-10, 10:27 UTC
by ghisler(Author)
No, currently there are only two options:
? at the start of the parameters lets the user edit them before executing
* at the start of the parameters (or after the ?) will show the results in a dialog box instead of a short toast message

Maybe I could use a third such placeholder for refresh?

Re: Refresh after shell command - possible?

Posted: 2022-01-10, 19:16 UTC
by Lee321987
I would like that.

Re: Refresh after shell command - possible?

Posted: 2022-01-11, 07:56 UTC
by ghisler(Author)
I'm considering to use the & character for that, because it cannot be the first character of a shell command, just like ? and *.
What do you think? Am I missing something?

Re: Refresh after shell command - possible?

Posted: 2022-01-11, 18:15 UTC
by Lee321987
Sounds good to me, but I'm not a Linux shell or Android expert.

Re: Refresh after shell command - possible?

Posted: 2022-01-14, 15:12 UTC
by ghisler(Author)
OK, I will add it to the next beta, probably next week.

Re: Refresh after shell command - possible?

Posted: 2022-01-19, 10:11 UTC
by ghisler(Author)
Beta 5 is available now, you can use the & character at the start (after the ? if you need that) to refresh the current panel when done.