transformations:filecommand
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
transformations:filecommand [2018/01/11 21:09] – created dmitry | transformations:filecommand [2021/06/20 00:19] – craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== File command | + | {{ transformations: |
+ | ====== | ||
+ | Category: Workflow / External\\ | ||
- | Category: Workflow / External | + | \\ |
- | + | =====Description===== | |
- | This transformation allows performing | + | This action can perform |
- | * Copy or move a file | + | * Copy or move file, or list of files |
- | * Rename or clone a file | + | * Rename or clone file |
- | * Delete file | + | * Rename a list of files |
- | * Delete all files in a folder | + | * Delete file, or list of files |
+ | * Create folder | ||
+ | * Clean folder (deletes | ||
+ | * Delete folder | ||
+ | * Zip file | ||
+ | * Zip folder | ||
* Unzip a file | * Unzip a file | ||
- | File names and folders can be specified using a parameter. | + | \\ |
+ | =====Action settings===== | ||
+ | ^ Setting | ||
+ | |Commmand|Select the file/folder command to use. See the following tables for details of all commands.| | ||
- | **Notes** | + | \\ |
+ | ====Copy/ | ||
+ | **Description: | ||
+ | ^Settings ^Description ^ | ||
+ | |Mode|Select whether to create a copy of the selected file or move it. Options: | ||
+ | |File path< | ||
+ | |Destination< | ||
+ | |If the file doesn' | ||
+ | |If a file with such name already exists|Select how EasyMorph will handle saving the file if a file with the same name exists in the destination folder. | ||
+ | < | ||
+ | \\ | ||
+ | ====Copy/ | ||
+ | **Description: | ||
+ | ^Settings ^Description ^ | ||
+ | |Mode|Select whether to create a copy of the source files or move them. Options: | ||
+ | |File paths|Select the column containing the fully qualified paths and filenames of the files to be copied or moved.| | ||
+ | |Destination< | ||
+ | |If a file with such name already exists|Select how EasyMorph will handle saving the file if a file with the same name exists in the destination folder. | ||
+ | < | ||
+ | |||
+ | \\ | ||
+ | ====Rename/ | ||
+ | **Description: | ||
+ | ^Settings ^Description ^ | ||
+ | |Mode|Select whether to rename the selected file or copy it with a new name (" | ||
+ | |File path< | ||
+ | |New name< | ||
+ | |If the file doesn' | ||
+ | |If a file with such name already exists|Select how EasyMorph will handle saving the file if a file with the same name exists in the destination folder. | ||
+ | < | ||
+ | |||
+ | \\ | ||
+ | ====Rename list of files settings==== | ||
+ | **Description: | ||
+ | ^Settings ^Description ^ | ||
+ | |File paths|Select the column containing the fully qualified paths and filenames of the files to be renamed.| | ||
+ | |New names|Select the column containing new file names.| | ||
+ | |If a file with such name already exists|Select how EasyMorph will handle saving the file if a file with the same name exists in the destination folder. | ||
+ | < | ||
+ | |||
+ | \\ | ||
+ | ====Delete file settings==== | ||
+ | **Description: | ||
+ | ^Settings ^Description ^ | ||
+ | |File path< | ||
+ | |If the file doesn' | ||
+ | < | ||
+ | |||
+ | \\ | ||
+ | ====Delete list of files settings==== | ||
+ | **Description: | ||
+ | ^Settings ^Description ^ | ||
+ | |File paths|Select the column containing the fully qualified paths and filenames of the files to be deleted.| | ||
+ | |If the file doesn' | ||
+ | < | ||
+ | |||
+ | \\ | ||
+ | ====Create folder settings==== | ||
+ | **Description: | ||
+ | ^Settings ^Description ^ | ||
+ | |Folder name< | ||
+ | |Parent folder< | ||
+ | |If a folder with such a name already exists|Select how EasyMorph will handle cases when a folder with the same name already exists in the selected parent folder. | ||
+ | |||
+ | \\ | ||
+ | ====Clean folder settings==== | ||
+ | **Description: | ||
+ | ^Settings ^Description ^ | ||
+ | |Folder< | ||
+ | |Subfolders|Select what action to take on subfolders under the selected folder. | ||
+ | |||
+ | \\ | ||
+ | ====Delete folder settings==== | ||
+ | **Description: | ||
+ | ^Settings ^Description ^ | ||
+ | |Folder< | ||
+ | |If folder doesn' | ||
+ | < | ||
+ | |||
+ | \\ | ||
+ | ====Zip file settings==== | ||
+ | **Description: | ||
+ | ^Settings ^Description ^ | ||
+ | |File< | ||
+ | |Archive< | ||
+ | < | ||
+ | |||
+ | \\ | ||
+ | ====Zip folder settings==== | ||
+ | **Description: | ||
+ | ^Settings ^Description ^ | ||
+ | |Folder< | ||
+ | |Include folder itself|The selected folder will be included in the resultant zip file. Otherwise, the zip file will only contain the files within the selected folder.| | ||
+ | |Archive< | ||
+ | < | ||
+ | |||
+ | \\ | ||
+ | ====Unzip archive settings==== | ||
+ | **Description: | ||
+ | ^Settings ^Description ^ | ||
+ | |Zip archive< | ||
+ | |Target folder< | ||
+ | |Create the folder if it doesn' | ||
+ | |If any file with such name already exists|Select how EasyMorph will handle saving a file if a file with the same name exists in the destination folder. | ||
+ | |||
+ | \\ \\ | ||
+ | ====File already exists options==== | ||
+ | ^Option ^Description ^ | ||
+ | |Overwrite|The new file replaces the original file.| | ||
+ | |Rename the existing file|The original file will be renamed with " | ||
+ | |Halt project execution|The project will stop processing and this action will display an error.| | ||
+ | |||
+ | |||
+ | \\ | ||
+ | =====Remarks===== | ||
Unzipping password-protected archives is not supported. | Unzipping password-protected archives is not supported. | ||
More complex file operations can be implemented using Windows shell commands in the [[transformations: | More complex file operations can be implemented using Windows shell commands in the [[transformations: | ||
+ | |||
+ | |||
+ | \\ | ||
+ | =====See also===== | ||
+ | |||
+ | * [[transformations: | ||
+ | * [[transformations: | ||
transformations/filecommand.txt · Last modified: 2021/07/17 15:40 by craigt