neWerminder has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
i have quite a problem to manage and i cant really manage to do so myself so im seeking for help here.
What i need to do is to get % of file copied somehow displayed (or captured to variable even better).
So on windows im using cmd's "copy" command.
copy s.txt b.txt /z
Displays nice percentages of progress.
Now.. i could add >output.txt at the end to get that percentages to file.. but thats quite a spam of them and thats not what i want to achieve.
Generally i tried with backticks and with open command and i cant really get it to work. In best case i received 100% at the end of copy but i dont know how to execute copy and read how much % there is.
Any help with making it happening would be greatly appreciated.
Back to
Seekers of Perl Wisdom