Track a cURL Upload with a Progress Bar

I have a macro that uses a Do Shell Script action to upload a file to a server via curl. it occurs to me that it would be nice to display a progress bar during the upload.

curl returns the upload's progress over time, but I can't see a way to use the shell response to update a Keyboard Maestro variable while the script is still running.

Any ideas, or is this not possible using curl and KM?

Hey Gabriel,

That's correct.

Keyboard Maestro's Execute a Shell Script action is a script-runner mechanism not an interactive Terminal.

If you want progress then you need to script the, or iTerm, or another similarly scriptable terminal app.


1 Like