How to exclude filetypes when getting latest in Perforce

563 Views Asked by At

When I get latest revision on a folder it gets all files in that folder. How can I get all files except files with the extension ".ztl" ?

Adding this extension to the p4ignore.ini blocks the submit of them but not the get latest.

1

There are 1 best solutions below

0
On

Exclude them from your client view. E.g.:

//depot/... //client/...
-//depot/....ztl //client/....ztl

Those files are now no longer considered part of your workspace at all -- files matching that depot path will not be synced, and files you add to your workspace matching that path will not be added.