Right now there's 3 options to show the copying status
- no flag - Just the progress bar
-v - [Info] logs, which shows:
- Whats get copied from source to destination
- When worker receive the operation to copy
- When copying operation is complete
-vv - Both start and finish of important tasks/events in [Info] and everything debug related in [Debug]
I feel like the second option is a little too cluttery for most people who just care of what files get copied to where and how long the operation is taking. Hence I would suggest:
- To rework the second flag to not show [Info] related events but just shows when files get copied to their destination (without timestamps nor the [Info] box)
Copy "/home/user/test/text.txt" -> "../text.txt"
[########################################################################]
instead of
16:46:12 [INFO] Copying source "text.txt" to "../"
16:46:12 [INFO] Worker[ThreadId(4)]: Copy "/home/user/test/text.txt" -> "../text.txt"
[---------------------------------------------------------------------------------------------------------] 0 B / 30.32 KiB | 0% | 0 B/s | 00:00:00 remaining
16:46:12 [INFO] Copy complete
This would also
- Add a third flag to replace the first degree in verbosity and make the current first (
-v) and second degree (-vv) in verbosity, the second (-vv) and third (-vvv) degree in verbosity so to keep the current behaviour when setting the -v flag once.
Right now there's 3 options to show the copying status
-v- [Info] logs, which shows:-vv- Both start and finish of important tasks/events in [Info] and everything debug related in [Debug]I feel like the second option is a little too cluttery for most people who just care of what files get copied to where and how long the operation is taking. Hence I would suggest:
instead of
This would also
-v) and second degree (-vv) in verbosity, the second (-vv) and third (-vvv) degree in verbosity so to keep the current behaviour when setting the-vflag once.