santosh
santosh

Reputation: 501

Perforce command to find newly added file in particular depot path

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!

Upvotes: 2

Views: 373

Answers (1)

Samwise
Samwise

Reputation: 71454

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)

Upvotes: 3

Related Questions