Southsoftware.com
   

Delete files

This scheduled task type allows deleting files and folders.

Delete folder

Source folder
Source folder to delete files from. If a subdirectory of this directory becomes empty after removal of the files, it is also removed.

Include files
One or more file names separated by semicolon. Wildcards ("*" and "?") are accepted. Since wildcard characters normally match directory separators ("\"), this option may be used to include any files that are in subdirectories. For example,
"1.txt" - include 1.txt file only
"sf\1.txt" - include 1.txt file from "sf" subdirectory only
"*.txt" - include .txt files from all subdirectories
"sf\*.txt" - include .txt files from "sf" and all its subdirectories
"*\*.txt" - include .txt files from all subdirectories (not from main directory)

Exclude files
One or more file names separated by semicolon. Wildcards ("*" and "?") are accepted. Since wildcard characters normally match directory separators ("\"), this option may be used to exclude any files that are in subdirectories. For example,
"1.txt" - exclude 1.txt file only
"sf\1.txt" - exclude 1.txt file from "sf" subdirectory only
"*.txt" - exclude .txt files from all subdirectories
"sf\*.txt" - exclude .txt files from "sf" and all its subdirectories
"*\*.*" - exclude all subdirectories

Notes:

  • To delete a single file, specify its folder, then specify its file name separately, in the Include files filed.
  • To delete files without recursing down directories in the file system, specify "*\*.*" in the Exclude files field.
Delete file

Source file
Source file to delete.

Returning codes
Error code: Error code of starting the command
Exit code: Number of files deleted

Categories: Manual, Shortcut type

Leave a Reply

   
About us   Cookie policy   Privacy policy   Terms of use   Link to us