Delete action in Folder - Use the Delete action in the Folder package to delete a folder from a specified location.

Automation 360

Use the Delete action in the Folder package to delete a folder from a specified location.

Procedure

  1. In the Actions palette, double-click or drag the Delete action from the Folder package.
  2. In the Folder field, specify the name and location.
  3. Optional: Select the Size check box to delete a folder based on its size.
    1. Use the drop-down menu to select one of the following options:
      • Atleast: Deletes a folder only if the folder size is more than the size you have specified.
      • Atmost: Deletes a folder only if the folder size is less than the size you have specified.
      • Exact: Deletes a folder only if the folder size is the same as the size you have specified.
    2. In the Size field, specify the folder size.
  4. Optional: Select the Date check box to delete a folder based on the date it was created or modified.
    1. Use the drop-down menu to select one of the following options:
      • Created: To delete a folder based on the date it was created.
      • Modified: To delete a folder based on the date it was modified.
    2. Use the second drop-down menu to select one of the following additional options:
      • Relative to runtime: Deletes a folder if it was created or modified within the number of days you specify. For example, if you specify 7, the action deletes folders created or modified in the last 7 days.
      • Between two dates: Deletes a folder if it was created or modified between the Start date and End date you specify. For example, if you set the start date to 2019-01-01 and the end date to 2019-01-31, the action deletes folders created or modified during that period.
        Note: The Start date and End date are included in the period.
      • On a date: Deletes a folder if it was created or modified on the date you specify.
      • Before a date: Deletes a folder if it was created or modified before the date you specify. For example, if you set the date to 2020-07-28, folders created or modified before that date are deleted. To also delete folders created or modified on the date you set, select the Including date check box.
  5. Click Save.

Results

The specified folder is deleted. If you applied Size or Date filters, only folders that meet the criteria are deleted.