Perforce command to find newly added file in particular depot path

Viewed 192

I we have one perforce depot path where all projects are located. Actually i would like to know which project got added in last 24hrs. For that we have one file Say 'project.xml' which is common for all projects.

Is there any command to find newly added project.xml file in last 24hrs ?

Thanks!

1 Answers

Use a regular p4 files command with a filespec that matches your filename and a date range to specify the window you're interested in:

C:\Perforce\test>p4 files ...project.xml@2020/04/06,@now
//stream/main/dir/project.xml#1 - add change 151 (text)
Related