Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature requests: cp & mv progress bar #1455

Closed
doronbehar opened this issue Mar 11, 2020 · 7 comments · Fixed by #3903
Closed

Feature requests: cp & mv progress bar #1455

doronbehar opened this issue Mar 11, 2020 · 7 comments · Fixed by #3903

Comments

@doronbehar
Copy link

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.

@ArniDagur
Copy link
Contributor

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?

@doronbehar
Copy link
Author

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?

@Arcterus
Copy link
Member

Arcterus commented Mar 30, 2020

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).

@stale
Copy link

stale bot commented Mar 30, 2021

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 stale bot added the wontfix label Mar 30, 2021
@doronbehar
Copy link
Author

doronbehar commented Mar 30, 2021 via email

@stale stale bot removed the wontfix label Mar 30, 2021
@ycd
Copy link
Contributor

ycd commented Mar 30, 2021

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.

@stale
Copy link

stale bot commented Mar 31, 2022

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.

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

Successfully merging a pull request may close this issue.

5 participants