coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

Feature requests: cp & mv progress bar

Open doronbehar opened this issue 5 years ago • 7 comments

GNU's coreutils project has rejected this feature since day 1, see: https://lists.gnu.org/archive/html/coreutils/2015-09/msg00008.html . There's a crafty patch written for it but today it failed me when I copied a directory with very special characters such as [{[&d.* it didn't know how to handle.

I was wondering whether you'd consider implementing this feature.

doronbehar avatar Mar 11 '20 18:03 doronbehar

I'd be open to this extension if it were opt in. Perhaps a command line flag such as --progress-bar could be used, similar to other tool's --color flag. An environment variable might work also.

@doronbehar Have you looked at https://github.com/tarka/xcp?

ArniDagur avatar Mar 11 '20 23:03 ArniDagur

Have you looked at https://github.com/tarka/xcp?

Seems like an interesting project, with progress bar and performance enhancments over GNU's coreutils. Have you ever borrowed or considered borrowing ideas from there?

doronbehar avatar Mar 12 '20 07:03 doronbehar

I agree that it's got some good ideas. Unfortunately, it's GPL, so at most we will be able to borrow ideas. When cp is eventually refactored, we'll probably borrow some of them.

I think progress bars have been requested before. I am happy to add it as an optional flag (like --progress-bar as mentioned above).

Arcterus avatar Mar 30 '20 12:03 Arcterus

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 30 '21 12:03 stale[bot]

Nothing new to add here, but still a feature that would be nice to have.

On Mar 30 2021, at 3:21 pm, stale[bot] @.***> wrote:

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub (https://github.com/uutils/coreutils/issues/1455#issuecomment-810176055), or unsubscribe (https://github.com/notifications/unsubscribe-auth/ACT5IMZL4QQTO5EAPFTA3QTTGG66FANCNFSM4LF4QYXA).

doronbehar avatar Mar 30 '21 17:03 doronbehar

There is indicatif and pb, both licensed with MIT. It would be very easy to implement for mv and cp as far as i have seen. Only thing i'm concerned about they are going to increase the executable size,

On the other hand features like this are joy to use, imagine having exa instead of ls, procs instead of ps, bat instead of cat, ripgrep instead of grep on your brand-new OS, that would be freaking cool.

ycd avatar Mar 30 '21 17:03 ycd

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 31 '22 11:03 stale[bot]