Skip to content

cp 0.1.2

Choose a tag to compare

@creep-ltx creep-ltx released this 27 Jul 19:33
· 157 commits to main since this release

The family-audit release (the whole story: tools-audit.md in the repo).

  • cp -r into its own subtree is refusedcp -r dir dir/sub used to re-copy its own output until the disk filled (the docs said "don't"; now the tool says it). Identity is checked by canonical path, assigns resolved, so an aliased route into the source is caught too.
  • More than 32 arguments is a hard error instead of a silent truncation. This one mattered: with 33+ arguments the dropped token was TO itself, and the 32nd source quietly became the destination — a long generated batch could land its files inside another source directory.
  • The -f shape is now documented plainly: it replaces by delete-then-copy, the Unix way, so if the copy itself then fails the old target is already gone. Keep that in mind before -f'ing the only copy of something.

Needs Kickstart 2.04+.

Download cp-0.1.2.lha below - the auto-generated Source code links are snapshots of the whole AmigaTools repo, not just cp.