Copy folder
Copy a folder and its contents, optionally only some files by name, size or date.
Command in the Folder toolkit · id ooa.folder/copy · 9 inputs (2 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Source | File | Yes | Source folder, or name rules choosing the files to copy (with the folders below the one they share). | |
| Target | File | Yes | Target folder. | |
| Overwrite | Boolean | No | true | Replace files that already exist in the target; when false they are kept. |
| Pattern | String | No | Only copy files whose names match this glob pattern; all files when empty. | |
| Only newer | Boolean | No | false | Copy a file only when it is newer than the one already in the target. |
| Larger than (KB) | Number | No | Only copy files larger than this many KB (1 KB = 1024 bytes). | |
| Smaller than (KB) | Number | No | Only copy files smaller than this many KB. | |
| Modified after | DateTime | No | Only copy files last changed after this date and time (UTC, like every DateTime; Text to date converts local times). | |
| Modified before | DateTime | No | Only copy files last changed before this date and time (UTC, like every DateTime; Text to date converts local times). |
Outputs
| Output | Type | What it is |
|---|---|---|
| copied | Number | Number of files copied. |