-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
copy progress in 7.4 preview 3 does not work if files are in a single directory and does not show correct total to copy #19600
Comments
The problem is that when copying a single folder, it's just a single .NET API call, so there's no way to know and write progress. We would have to split it into individual copy calls to be able to render progress which would slow down the operation. I think the best we could do is show a "progress" pane with the total number of files to be copied, but it wouldn't show progress, just that copying was happening. If the WG decides not to add a static progress pane, then we should at least document this behavior so it's not surprising. |
Thank you @jhoneill -- The Interactive WG reviewed this issue. The implementation of this feature is not fully understood and needs further investigation. We are planning to address this during the 7.5 development timeframe. |
@PowerShell/powershell-committee discussed this. We can investigate showing a static progress message when copying lots of files that don't result in subfolders being copied. |
The issue I reported above was it actually reports wrong information, the numbers given being the first directory of multiple ones. |
📣 Hey @jhoneill, how did we do? We would love to hear your feedback with the link below! 🗣️ 🔗 https://forms.office.com/r/P926k48jRJ |
@jhoneill just had a fix merged in, can you check if this is still a problem after we have a release with that change (or if you're adventurous build that branch) |
Prerequisites
Steps to reproduce
I have a digital camera memory card with a root folder DCIM and 3 sub folders - the first contains ~ 250 files, the second 500 files and the third ~250 files. Average size is 44MB Roughly 44 GB to copy.
Copy speed from my card reader is ~100MB/sec, so copying the recent files from one folder will take 1-2 minutes, and the new progress bar would be nice.
copy D:\DCIM\140PENTX\* C:\temp\deleteme\ -Recurse
Displays no progress
copy D:\DCIM\* C:\temp\deleteme\ -Recurse
Displays progress as in the video at #18735 HOWEVER it only shows the count of files and number of bytes to copy for the first directory. ie. instead of 1000 files /44 GB it shows 251 files,
Expected behavior
All large copies show progress
Actual behavior
Copying a lot of data from one directory does not.
Error details
No error. Command runs, but shows no progress.
Environment data
Visuals
Untitled.video.mp4
The text was updated successfully, but these errors were encountered: