Question

I would like to know how much disk space a directory is going to consume before I bring it over from the Perforce server. I don't see any way to do this other than getting the files and looking at the size of the directory in a file manager. This, of course, defeats the purpose.

Is there a way to get file size info from Perforce without actually getting the files?

Was it helpful?

Solution

I don't know how I missed this command, but here's how you do it:

p4 sizes -s //depot/directory/...

OTHER TIPS

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top