I am trying to do p4 sync folder/...
It's not very fast and it's using only 2% of the CPU. I am not happy with the performance.
I am trying to write a function in bash, given a parameter n, it forms a queue of all files and folders n levels deep and forks of a process of p4 sync -f $thatDirectory/... or p4 sync -f $thatFile.
How do I start about this? Is there any utility that already does this?
Thanks in advance.