InTouch Hub · Blue Isle Software

File Management

Local filesystem operations with wildcard and glob support — copy, move, delete, list, test for existence and make directories.

Provided free and as is, without warranty of any kind — including merchantability, fitness for a particular purpose, and the accuracy or completeness of any result. See the licence. You are responsible for checking what this produces before relying on it.

filefile-storage

File Management Tool

Local filesystem operations with wildcard/glob support.

Tool ID

file-management

Credential Required

No

Operations

Common Properties

Property Type Default Description
operation string Required. File operation
source string Required. Source path (supports *, ?, [...] wildcards)
target string Target path (for copy, move, mkdir)
recursive boolean false Process directories recursively
overwrite boolean true Overwrite existing target files
mustExist boolean false Fail if source doesn't exist
notEmpty boolean false Fail if source is empty (file = 0 bytes, dir = no children)
createDirs boolean true Create parent directories for target

1. copy — Copy files/directories

Copies files matching the source pattern to the target. Supports wildcards. Recursive for directories.

Published: operation, source, target, fileCount

2. move — Move/rename files

Moves files matching the source pattern to the target. Supports wildcards.

Published: operation, source, target, fileCount

3. delete — Delete files/directories

Deletes files matching the source pattern. Non-empty directories require recursive=true.

Published: operation, source, fileCount

4. list — List directory contents

Lists files in a directory or matching a pattern. With recursive=true, walks the entire tree and returns full paths.

Published: - operation, path, fileCount - files — comma-separated list of filenames (or full paths if recursive)

5. exists — Check file/directory existence

Checks if a path exists and returns metadata.

Published: - exists — "true" or "false" - isFile — "true" or "false" - isDirectory — "true" or "false" - size — file size in bytes (if exists) - lastModified — last modified timestamp in milliseconds (if exists)

6. mkdir — Create directory

Creates a directory and all parent directories. Uses source or target as the path.

Published: operation, path, created ("true" if created, "false" if already existed)

Wildcard Support

The source path supports glob patterns: - * — matches any sequence of characters - ? — matches any single character - [abc] — matches any character in the set

Examples: - /data/*.csv — all CSV files in /data - /data/report_?.txt — report_1.txt, report_A.txt, etc. - /data/[0-9]*.log — log files starting with a digit

Wildcard matching applies only to the filename portion (parent directory must be a literal path).

Killable

Yes — sets killed flag (checked between file operations).

Chaining Patterns

Error Handling

Publishes

The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.