flickr-cli icon indicating copy to clipboard operation
flickr-cli copied to clipboard

Possibility of disabling progress bar

Open ruzickap opened this issue 8 years ago • 3 comments

Is there a way how to disable the progress bar?

If I run something like with redirection to file:

(
docker run --rm -it -u $(id -u):$(id -g) -v "$PWD":/mnt -v "$HOME/.flickr-cli":/data thefox21/flickr-cli upload --recursive --config=/data/config.yml my_pictures
) 2>&1 | tee -a flickr_upload.log

The output saved to flickr_upload.log looks terrible, because of the progress bar.

Any change to introduce some parameter which may disable it?

Thank you

ruzickap avatar Feb 12 '18 15:02 ruzickap

Good idea. I think the progress bar should only be displayed in level-2 verbose (-vv) mode.

samwilson avatar Feb 13 '18 06:02 samwilson

Actually I like progress bar "feature" - it's handy when you are uploading few files.

When you are uploading thousands of photos you usually use some scripting + store the output to file to check the errors/results later.

I suggest to keep the progress bar like it is now, but maybe introduce parameter like --noprogress which will disable it.

(or introduce some new parameter which forces flickr-cli output to be more "file output" friendly)

ruzickap avatar Feb 14 '18 07:02 ruzickap

I like the --noprogress idea.

TheFox avatar Feb 14 '18 15:02 TheFox