Breaking
- Single-file source with a destination that is not an existing directory now behaves like a file-to-file copy, matching
cp73722bc- If you previously relied on a no-op when patterns matched nothing, the CLI now exits with an error. Ensure your patterns match at least one file or handle the failure explicitly.
- No matches now error out, consistent with
cp8c24e5c- If you previously relied on a new directory being created when copying a single file to a non-existent destination path, the destination is now treated as a file path. Use a trailing separator or an existing directory to force directory semantics.
New flags
--baseto control how destination paths are calculated for patterns (cwd or pattern) 078a9b4--dry-runto list files that would be copied without actually copying e5e8933--updateto copy only when the source is newer, or when sizes differ with the same modification time cb7c4cf--ignore-existingto skip files that already exist at the destination without error 9a85af9