Kallin Nagelberg
Kallin Nagelberg

Reputation: 1019

How can i list all files in the perforce depot with their last modified time

I'd like to list all of the files in the perforce depot with the date they were last modified. P4 files shows latest changelist, but not date, and I don't want to have to issue something like fstat for each file.

Upvotes: 1

Views: 1252

Answers (1)

pasztorpisti
pasztorpisti

Reputation: 3726

Instead of files + many fstats you could use fstat directly, fstat can also return results for many files for example for all files under //depot/mydir1/mydir2/...

You can use the -T parameter to filter fields. Check out the docs for fstat: http://www.perforce.com/perforce/r12.2/manuals/cmdref/fstat.html

Upvotes: 1

Related Questions