Delete files

Publish

Platform_KC
On Premises

Using the Delete File action, delete all files from the publishing folder, or choose to delete specific files. This action is usually used in conjunction with other actions. For example, you might want to remove several additional files from the publishing folder before uploading the remaining files to a webserver. Wildcards enable you to delete all files in a specific format, for example, *.gif.

Delete Files

To create a delete action:

  1. Open the publishing profile and select the Actions tab.
  2. Click the Delete Files action.
  3. Use wildcards to identify the type of files you want to delete, or select All output in publishing folder.
  4. Click OK.

    The action appears in the After Publishing list. To move the action to the Before Publish list select the action and click the Move Up arrow.

  5. Save the changes to the profile.