如何从 Perforce 检索目录的大小? [英] How do I retrieve the size of a directory from Perforce?

查看:57
本文介绍了如何从 Perforce 检索目录的大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道一个目录在从 Perforce 服务器转移之前将消耗多少磁盘空间.除了获取文件并查看文件管理器中目录的大小之外,我看不到任何其他方法.当然,这违背了初衷.

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.

有没有办法从 Perforce 获取文件大小信息而不实际获取文件?

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

推荐答案

我不知道我是怎么错过这个命令的,但你可以这样做:

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

p4 尺寸 -s//depot/directory/...

这篇关于如何从 Perforce 检索目录的大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆