Delete File Dynamic Action

About

The Delete File Action is a crucial component of automated workflows that allows users to remove files from a specific directory or system. This action ensures that unnecessary, obsolete, or unwanted files are systematically deleted, freeing up storage space and reducing clutter in file systems. It can be customized to target specific files, groups of files, or entire directories based on defined criteria, streamlining file management processes.

Metadata tab

Delete File Action - Metadata tab
 

  1. The Write Variables option ensures that the “Package Action” logs the variable values into the “Action vars before log file” before the action is executed and logs the updated variable values into the “Action vars after log file” after the action completes.
  2. This option is typically used for debugging and is not recommended in a production environment.
  3. It can be globally disabled through the options dialog .

Parameters tab

Delete File Action - Parameters tab

N Value Parameter

The meaning of N Value parameter depends on Which File Parameter

  1. When Which File Parameter is equal to “Files Not Older Than N Days” N Value is Days
  2. When Which File Parameter is equal to “Files Older Than N Days” N Value is Days
  3. When Which File Parameter is equal to “First N Found Files” N Value file number
  4. When Which File Parameter is equal to “Bigger Than N Bytes” N Value is byte

Variables tab

The Variables tab defines the variables to be updated during the action’s execution.

Delete File Action - Variables tab

Execution log tab

The Execution log tab is populated after the action is executed. Double click on the row to view the log.

Delete File Action - Execution log tab
  1. Change Encoding Action
  2. Compare Files Action
  3. Check File Action
  4. Check File Date Action
  5. File Meta Data Action
  6. Copy Files Action
  7. Copy File Action
  8. Move File Action
  9. Rename File Action
  10. Delete File Action
  11. Keep File Action
  12. Merge File Action
  13. Change File Attributes Action
  14. Files List Action
  15. Replace String Action
  16. Open File Action
  17. Encrypt Action
  18. Decrypt Action

Video Tutorial


For more technologies supported by our ETL Software see Advanced ETL Processor Versions

Confused? Ask question on our ETL Forum

Posted on October 31, 2025 • 3 min read • 449 words
www.etl-tools.com About Support Pricing Cookies Policy Term Of Use Privacy Policy License