ZIP delete
This scheduled task type allows deleting archived files and folders.
Zip file
Name of zip file.
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 field.
-
To delete files without recursing down directories in the file system, specify "*\*.*" in the Exclude files field.
-
The produced Zip file can include files larger than 4 GB.
-
The produced Zip file uses UTF-8 paths where possible.
Zip file
Name of zip file.
File in archive
File in archive.
Returning codes
Error code: Error code of starting the command
Exit code: Error code of the operation
| Can be one of the following values: |
| 0 - Success |
| 2 - Unexpected end of zip file |
| 3 - Zip file structure error |
| 4 - Out of memory |
| 5 - Internal logic error |
| 6 - Entry too large to split, read, or write |
| 7 - Invalid comment format. |
| 8 - Zip test failed or out of memory. |
| 9 - User interrupt or termination. |
| 10 - Error using a temp file |
| 11 - Read or seek error |
| 12 - Nothing to do |
| 13 - Missing or empty zip file |
| 14 - Error writing to a file |
| 15 - Couldn't open to write |
| 16 - Bad command line. |
| 18 - Could not open a specified file to read |
| 19 - Error in compilation options |
| 20 - Zip64 not supported |
Categories: Manual, Shortcut type
Leave a Reply
You must be logged in to post a comment.