Skip to main content

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​

InputTypeRequiredDefaultWhat it is
SourceFileYesSource folder, or name rules choosing the files to copy (with the folders below the one they share).
TargetFileYesTarget folder.
OverwriteBooleanNotrueReplace files that already exist in the target; when false they are kept.
PatternStringNoOnly copy files whose names match this glob pattern; all files when empty.
Only newerBooleanNofalseCopy a file only when it is newer than the one already in the target.
Larger than (KB)NumberNoOnly copy files larger than this many KB (1 KB = 1024 bytes).
Smaller than (KB)NumberNoOnly copy files smaller than this many KB.
Modified afterDateTimeNoOnly copy files last changed after this date and time (UTC, like every DateTime; Text to date converts local times).
Modified beforeDateTimeNoOnly copy files last changed before this date and time (UTC, like every DateTime; Text to date converts local times).

Outputs​

OutputTypeWhat it is
copiedNumberNumber of files copied.