Folder
Similar to the File actions, Folder actions are also very common. YooginX Folder actions enable you to manipulate and organize folders.
Actions
Change Path
Change the path of a folder.
- Source folder: The source folder to change. This value can be a folder path or a variable.
- Direction: Specifies the changing direction of the source folder.
- Parent: to the parent directory.
- Sub: to the child directory.
- Target folder name: Specifies the destination folder name after changing directory. There are two options:
- First folder: The first folder name at the current directory path.
- Specified folder: The entered folder name.
- Set target folder to a variable: Store the destination folder path to a variable.
Create
Create a new folder.
- Folder path: Choose the full path of the folder or a variable containing the folder path.
Copy
Copy a folder into a destination folder.
- Source folder: Choose the full path of the folder or a variable containing the folder to copy.
- Destination folder: Choose the full path of the folder or a variable containing the folder to be the destination folder.
- Overwrite existing files/folders: Specify whether to overwrite files or not copy them at all if the destination folder already exists.
Cut
Move a folder into a destination folder.
- Source folder: Choose the full path of the folder or a variable containing the folder to move.
- Destination folder: Choose the full path of the folder or a variable containing the folder to be the destination folder.
- Overwrite existing files/folders: Specify whether to overwrite files or not move them at all if the destination folder already exists.
Delete
Delete a folder.
- Folder path: Enter or choose the full path of the folder or a variable containing the folder to delete.
- Delete all sub-folders and files: Specifies whether to delete the sub-folders and files in the folder.
Get Name
Get the name of a folder
- Source folder: Choose the full path of the folder or a variable containing the folder path.
- Set folder name to a variable: Store the folder name to a variable.
List Files
List files in the specified directory
- Source folder: Choose the full path of the folder or a variable containing the directory's path.
- Listed file format: File listed formats
- Full path: Display by full path.
- File name: Display by file name.
- File pattern: File types to be filtered, with multiple types separated by commas. (e.g.
*.txt, *.pdf, *.xlsx, *.*
) - Set listed files to a variable: Store the list of acquired files to a variable.
List Folders
List the folders in the specified directory
- Source folder: Choose the full path of the directory or a variable containing the directory's path.
- Listed folder format: Folder listed formats
- Full path: Display by full path.
- Folder name: Display by folder name.
- Set listed folders to a variable: Store the list of acquired folders to a variable.
Unzip
Extract the contents from a zip file to a specified directory
- Zip file path: The zip file location, either a path or a variable.
- Extract files to: Unzip to
- Current directory: The same parent directory as the zip file.
- Specified directory: User specified directory, either a path or a variable.