Fix File Names
AI-generatedOverview
The node performs file system operations, specifically for the 'Fix File Names' operation it fixes file names that are incompatible with Windows. It processes files and directories within a specified directory path, optionally recursively, and can be configured to only fix directory names while skipping files. This operation is useful for ensuring file and directory names conform to Windows naming conventions, which can prevent errors when transferring or using files on Windows systems.
Use Case Examples
- Fixing file names in a directory to be compatible with Windows before sharing files with Windows users.
- Recursively fixing directory names in a large folder structure to avoid issues with Windows file system limitations.
Properties
| Name | Meaning |
|---|---|
| Directory Path | The path of the directory where file names will be fixed. This is a required input. |
| Recursive | Whether to recursively process subdirectories within the specified directory path. |
| Only Directories | If true, only directory names will be fixed, and file names will be skipped. |
Output
JSON
result- The result of the fix file names operation, typically details about the changes made.
Troubleshooting
- Ensure the specified directory path exists and is accessible by the node to avoid errors.
- If recursive is enabled, large directory trees may take longer to process.
- If onlyDirectories is true, file names will not be changed, which might not be the intended behavior if files also need fixing.