Page 1 of 2
Copy command progress report option
Posted: Mon Oct 30, 2023 3:21 pm
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...
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)
Anyone cares to venture the solution
Re: Copy command progress report option
Posted: Tue Oct 31, 2023 4:00 am
by Midas
What OS are we talking about,
__philippe? My Windows Ten is doing this by default...
Re: CLI Copy command progress report option
Posted: Tue Oct 31, 2023 4:56 am
by __philippe
Windows 10 ... Shock
Horror
...Vade Retro, Satanas
...
(Sorry,
@Midas, couldn't help it...
)
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:
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
Re: Copy command progress report option
Posted: Tue Oct 31, 2023 2:00 pm
by lintalist
It always pays to check
SS64 https://ss64.com/nt/copy.html where it is visible for all to see
Re: Copy command progress report option
Posted: Tue Oct 31, 2023 6:14 pm
by __philippe
Thanks for the
tip,
@lintalist !
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
Re: Copy command progress report option
Posted: Fri Nov 03, 2023 5:18 am
by Midas
I see... all is well that ends well then.
Oremus, brother __philippe...
Re: Copy command progress report option
Posted: Fri Nov 03, 2023 7:00 am
by __philippe
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
:,
"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
Re: Copy command progress report option
Posted: Sat Nov 04, 2023 5:47 pm
by juverax
Frater _Philippe, gratias ago pro nuntio tuo.
Re: Copy command progress report option
Posted: Sun Nov 05, 2023 5:28 pm
by __philippe
Omnibus fratribus meis
@juverax @lintalist @midas, ite in pace !
Re: Copy command progress report option
Posted: Mon Nov 06, 2023 8:18 pm
by juverax
Pax ergo fratri meo _philippe et omnibus fratribus nostris.
Re: Copy command progress report option
Posted: Tue Nov 07, 2023 5:49 pm
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..
Re: Copy command progress report option
Posted: Tue Nov 07, 2023 8:10 pm
by juverax
download/file.php?id=1873&mode=view
O fratres ac sorores omnes in transcendentia communione uniti… (*)
(*) Tentative translation:
സഹോദരീസഹോദരന്മാരേ, എല്ലാവരും അതീന്ദ്രിയമായ കൂട്ടായ്മയിൽ ഐക്യപ്പെട്ടു...
Re: Copy command progress report option
Posted: Wed Nov 08, 2023 6:59 am
by Midas
Re: Copy command progress report option
Posted: Wed Nov 08, 2023 7:43 am
by __philippe
Is there an
Exorcist in the House ?
Looks like a case of serious infestation; perhaps braided garlic and a spike (well-worn) might help as well ?
Re: Copy command progress report option
Posted: Wed Nov 08, 2023 6:23 pm
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 (88.73 KiB) Viewed 13155 times
... As for the rest of us, Brothers and Sisters .... it may be the time for a deep introspection ...