Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Feature request: Add logging output to upload/download commands #662

Open
fritzrehde opened this issue Nov 18, 2022 · 2 comments
Open

Feature request: Add logging output to upload/download commands #662

fritzrehde opened this issue Nov 18, 2022 · 2 comments

Comments

@fritzrehde
Copy link

As you can see in #661, parsing the output of gdrive upload "$FILE" is quite complicated right now, because gdrive prints to stderr (which is fine and can be kept that way, just wanted to mention it) and uses \r to overwrite every newly printed line to make it look like only one output line is just being updated instead of printing to a new line. I think a logging option for upload and download would be beneficial (maybe --raw or --log).

@fritzrehde
Copy link
Author

fritzrehde commented Nov 18, 2022

When using such an option, outputting everything in units of bytes would be very useful as well.

@fritzrehde
Copy link
Author

fritzrehde commented Nov 22, 2022

If anyone is interested in this, I created a script that handles everything I described in this issue called gdrive.sh, which uses the cli tool watchbind (which I wrote myself) to turn the gdrive command into a custom TUI (terminal user interface) with custom keybindings.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant