Skip to content

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

@jhoneill

Description

@jhoneill

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

Name                           Value
----                           -----
PSVersion                      7.4.0-preview.3
PSEdition                      Core
GitCommitId                    7.4.0-preview.3
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

Untitled.video.mp4

Metadata

Metadata

Assignees

Labels

Committee-ReviewedPS-Committee has reviewed this and made a decisionIn-PRIndicates that a PR is out for the issuePowerShell-Docs neededThe PR was reviewed and a PowerShell Docs update is neededWG-Interactive-Consolethe console experience

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions