【问题标题】:Perforce P4 command line: How to list all submitted files since a certain date?Perforce P4 命令行:如何列出自某个日期以来所有提交的文件?
【发布时间】:2016-02-17 15:32:28
【问题描述】:

我想在 perforce 中创建一个文件夹中在某个日期之后提交的所有文件的列表。我用的是命令行

p4 files -e [path to the folder in perforce] @[date] > [somefile.txt]

但这给了我仓库中的每个文件,产生了一个 2gb 的 txt 文件。我想用“p4 files”命令做的事情是否可行?

我希望我已经足够清楚了。谢谢

【问题讨论】:

    标签: command-line perforce


    【解决方案1】:

    你想要的命令是:

    p4 files PATH@DATE,@now
    

    例如如果日期是 2016/02/02 并且路径是 //depot/main:

    p4 files //depot/main/...@2016/02/02,@now > somefile.txt
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-01-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-26
      相关资源
      最近更新 更多