Copy command progress report option

Any other tech-related topics
Message
Author
User avatar
__philippe
Posts: 687
Joined: Wed Jun 26, 2013 2:09 am

Copy command progress report option

#1 Post by __philippe »

Quiz of the day :

Everyone and their brother knows about Win humble built-in file copy command, don't you ?
Course you do... :wink:

However,...unbeknownst (is that even a word ?) to the great unwashed masses (yours truly included, until very recently),
there is indeed a nifty, yet deplorably undocumented option to cajole said copy into displaying a progress count
as it goes merrily about its shifting business.

(kind of soothing to watch while waiting for a 995 MB file copy to complete on a slow machine, believe you me) :roll:

Anyone cares to venture the solution :?:

User avatar
Midas
Posts: 6727
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Copy command progress report option

#2 Post by Midas »

What OS are we talking about, __philippe? My Windows Ten is doing this by default... :?

Image

User avatar
__philippe
Posts: 687
Joined: Wed Jun 26, 2013 2:09 am

Re: CLI Copy command progress report option

#3 Post by __philippe »

Windows 10 :?: ... Shock :!: Horror :!: ...Vade Retro, Satanas :!: ... :twisted:
(Sorry, @Midas, couldn't help it... :wink: )

Was thinking, more modestly, of a trusted CLI command switch under good ole Win XP
or even under Win 7, (to which I eventually graduated, a while ago, rest assured)

Anyway, here is my riddle' solution:

Code: Select all

 Copy /Z  
Despite /Z switch officially stated function "Copies networked files in restartable mode" ,
a nifty, undocumented side effect obligingly produces a running progress percentage count as well.

QED

User avatar
lintalist
Posts: 436
Joined: Sat Apr 19, 2014 12:52 am
Contact:

Re: Copy command progress report option

#4 Post by lintalist »

It always pays to check SS64 https://ss64.com/nt/copy.html where it is visible for all to see 8)

User avatar
__philippe
Posts: 687
Joined: Wed Jun 26, 2013 2:09 am

Re: Copy command progress report option

#5 Post by __philippe »

Thanks for the :idea: tip, @lintalist ! :D

Much more comprehensive output indeed from https://ss64.com/nt/copy.html

Code: Select all

/Z   When this option is used, if the copy is interrupted part way through it will restart if possible
     and resume copying the remainder of the file on the next copy if /Z is used again.
     Also displays a '% complete' which counts up to 100%.

...compared to the overly terse and cryptic pronouncement returned by Win Copy /? (or Help Copy, for that matter)

Code: Select all

/Z  Copies networked files in restartable mode

User avatar
Midas
Posts: 6727
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Copy command progress report option

#6 Post by Midas »

I see... all is well that ends well then. 8)

:pray: Oremus, brother __philippe...

User avatar
__philippe
Posts: 687
Joined: Wed Jun 26, 2013 2:09 am

Re: Copy command progress report option

#7 Post by __philippe »

:pray: Oremus, Tu Quoque, brother @Midas

Quite a journey it was, from a pedestrian grasp of pitiful Win Copy /? Help, to the encyclopaedic knowledge
bestowed upon us, mere mortals, by the grace of brother @lintalist's https://ss64.com/nt/copy.html revelation,
for which we should be everlastingly indebted.

To conclude in the very spirit of your own "All's Well that ends Well" *, brother @Midas,
let's echo an old pal of mine, viz. Julius (Caesar) **, boldly trumpeting orbi et urbi :trumpet: :,

"Veni, Vidi, Vici !"
loosely rendered, (in French vernacular) as: "Je m'suis pointé, J'ai zieuté, J'leur ai flanqué la raclée"

* © royalties due to the estate of William S. "The Bard", (1564-1616), Stratford-upon-Avon
** Giulio Cesare, in the off chance some opera buff wanders by

User avatar
juverax
Posts: 368
Joined: Mon Jun 11, 2018 5:19 am

Re: Copy command progress report option

#8 Post by juverax »

Frater _Philippe, gratias ago pro nuntio tuo.

User avatar
__philippe
Posts: 687
Joined: Wed Jun 26, 2013 2:09 am

Re: Copy command progress report option

#9 Post by __philippe »

Omnibus fratribus meis @juverax @lintalist @midas, ite in pace ! Image

User avatar
juverax
Posts: 368
Joined: Mon Jun 11, 2018 5:19 am

Re: Copy command progress report option

#10 Post by juverax »

Pax ergo fratri meo _philippe et omnibus fratribus nostris.
Meditation_Special.gif

User avatar
__philippe
Posts: 687
Joined: Wed Jun 26, 2013 2:09 am

Re: Copy command progress report option

#11 Post by __philippe »

Good Lord !
The Pontiff has swapped Roman Catholic genuflections rituals for Shamanistic levitation, of late ?
Mark my words, this is the end of the Papacy as we know it.. :roll:

User avatar
juverax
Posts: 368
Joined: Mon Jun 11, 2018 5:19 am

Re: Copy command progress report option

#12 Post by juverax »

download/file.php?id=1873&mode=view

O fratres ac sorores omnes in transcendentia communione uniti… (*)

(*) Tentative translation:
സഹോദരീസഹോദരന്മാരേ, എല്ലാവരും അതീന്ദ്രിയമായ കൂട്ടായ്മയിൽ ഐക്യപ്പെട്ടു...

User avatar
Midas
Posts: 6727
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Copy command progress report option

#13 Post by Midas »

:lol:

Image

User avatar
__philippe
Posts: 687
Joined: Wed Jun 26, 2013 2:09 am

Re: Copy command progress report option

#14 Post by __philippe »

:shock: Is there an :cross: Exorcist in the House ? :roll:

Looks like a case of serious infestation; perhaps braided garlic and a spike (well-worn) might help as well ?

User avatar
juverax
Posts: 368
Joined: Mon Jun 11, 2018 5:19 am

Re: Copy command progress report option

#15 Post by juverax »

All concerned citizens should look for a capable and skillful exorcist.
And an old friend of mine mentioned a relatively recent case (and solution) :
https://www.theguardian.com/world/2019/ ... -in-poland

Alternative solution :
Barbecue_Emoticon.gif
Barbecue_Emoticon.gif (88.73 KiB) Viewed 6086 times

... As for the rest of us, Brothers and Sisters .... it may be the time for a deep introspection ...
Meditation_Sleeping.jpg

Post Reply