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

P4 CLI Documentation | 2025.1

# Rearrange parts of filenames with positional specifiers

Positional specifiers `%%0` through `%%9` can be used to rearrange portions of filenames and directories.

Example: Using positional specifiers to rearrange filenames and directories

The following user-created view maps the depot file `//depot/allfiles/readme.txt` to the workspace file `filesbytype/txt/readme`:

    View:
        //depot/allfiles/%%1.%%2  //bruno_ws/filesbytype/%%2/%%1

The views created by a stream spec do not support positional specifiers and in a stream client you cannot edit the `View` field.

Your search for returned results