-1

So I am writing a powershell script which performs a "p4 sync" operation after reading the revision number from an external file. I'd like to show some progress bar for this operation. How to achieve this as the p4 sync starts performing it task directly.

hussAtt
  • 1
  • 2

1 Answers1

2

If you run the command:

p4 -I sync -q

you'll get a progress spinner in the terminal window. If you want a GUI progress bar, you will need to implement one yourself (there isn't a way to hook into the progress bar in P4V, so you'd need to launch your own window and render the appropriate graphic).

Samwise
  • 68,105
  • 3
  • 30
  • 44