Perforce file types for common file extensions

To learn about mapping file names to Perforce file types, see the p4 typemap command and the File type modifiers.

Some examples of how a file extension might correspond to a Perforce file type:

Perforce file type File Extension Note

text

.css, .html, .ini, .java, .js, .ps, .svg

text saved in the client's character set

text+wx .sh shell script that is writable and executable

binary

.dll, gif, .pdf, .png, .jpg, .zip

image files, compressed archives

binary+F

.avi, .gz, .mpg, .docx

Helix does not compress this file type, which might have its own compression

binary+w

.exp, .lib

some software development file types that should be writable by default

binary+x .exe executable on client