Is there an option for the curl command to show only a percentage output to shell rather than all of this, for example:
% Total % Received % Xferd Average
Does the parameter -# solve your problem?
-#
-#/--progress-bar Make curl display progress information as a progress bar instead of the default statistics.
-#/--progress-bar
Make curl display progress information as a progress bar instead of the default statistics.
From here.