In perforce how to get a list of all files in a depot outside my workspace?
- User
In perforce how to get a list of all files in a depot outside my workspace?
Assistant
In Perforce (Helix Core), if you want to list all files in a depot but outside your current workspace, you can use the
p4 filescommand with a depot path — no need to have the files synced or even mapped in your workspace.✅ Command:
bashp4 files //depot/path/...Examples:
-
List all files in the entire depot:
bashp4 files //... -
List all files in a specific depot (e.g.,
//depot/main/...):bashp4 files //depot/main/...
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.