HomeGeneralFile TypesAfter adding a new file type, how do I get all my files to use it?

11.5. After adding a new file type, how do I get all my files to use it?

You can change the file types of existing files using the 'pcm workspace editfiletypes' command. So for example to change all header and cpp files you would type:

    pcm workspace editfiletypes text/plain -r *.cpp *.c *.h

This will checkout every file matching these filters and change the file type to 'text/plain'. You then need to submit these changes just like any other changeset.

This page was: Helpful | Not Helpful