Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 CLI Documentation | 2025.2

# Exclude files and directories

Exclusionary mappings enable you to explicitly exclude files and directories from a workspace. To exclude a file or directory, precede the mapping with a minus sign (`-`). White space is not allowed between the minus sign and the mapping.

Example: Using views to exclude files from a client workspace

Earl, who is working on the Jam project, does not want any HTML files synced to his workspace. His workspace view looks like this:

Copy

    View:
        //JamCode/dev/jam/...        //earl-dev-beech/jam/...
        -//JamCode/dev/jam/....html  //earl-dev-beech/jam/....html

Your search for returned results