Jump to content


Member Since 07 Jan 2019
Offline Last Active Jan 10 2019 12:07 PM

Topics I've Started

p4 command for last access to workspace

07 January 2019 - 04:14 PM


I have searched and have not found a command that returns all workspaces owned by certain user that have been accessed in 2018.
I use two commands I use in Windows:
  • p4 clients -u <user>, this tells me which workspaces are owned by an user. I use the outcome for the next command
  • p4 client -o | findstr/b "Access:", this tells me when the workspaces owned by the user were last accessed.

How can I combine both commands that returns the names of the workspaces owned by user X, with a last accessed date before 2018, or 2017, or any particular date?

Thanks in advance.