CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-cpr

Cross-platform recursive file copying library that replicates Unix 'cp -R' command functionality

66

1.00x
Overview
Eval results
Files

Evaluation results

60%

Template Skeleton Copier

Copy empty directories without removing existing siblings

Criteria
Without context
With context

cpr call

0%

0%

Keeps siblings

100%

100%

Empty dir support

100%

100%

Path confirmation

0%

0%

Repeatable run

100%

100%

68%

-10%

Missing Directory Copier

Create missing directories and preserve file permissions

Criteria
Without context
With context

cpr usage

88%

80%

Permission parity

90%

75%

Dir creation

100%

100%

Verify option

40%

25%

Returned paths

66%

53%

77%

2%

Workspace Sync Utility

Recursive copy of directories/files with destination list

Criteria
Without context
With context

cpr usage

100%

100%

deleteFirst clean

100%

100%

filter mapping

66%

100%

confirm verify

0%

0%

overwrite passthrough

100%

100%

destination list

100%

80%

100%

Cross-Platform Copy CLI

CLI command for cross-platform recursive copy

Criteria
Without context
With context

Invokes cpr

100%

100%

Delete-first flag

100%

100%

Overwrite control

100%

100%

Filter regex

100%

100%

Verification

100%

100%

27%

27%

Filtered Copy Sync

Error when no files remain after filtering (No files to copy)

Criteria
Without context
With context

Uses cpr

0%

20%

Filter option

0%

25%

No-files error

0%

40%

Clean deleteFirst

0%

0%

Return files

0%

46%

90%

40%

Verified Copy with Post-Copy Checks

Post-copy stat confirmation of copied paths (confirm)

Criteria
Without context
With context

Confirm enabled

50%

100%

Use confirmed paths

0%

50%

Bubble confirm errors

25%

100%

Respect filter

100%

100%

Overwrite option

100%

100%

87%

4%

Workspace Mirror Refresh

Delete destination tree before copying (deleteFirst)

Criteria
Without context
With context

Delete-first copy

100%

100%

Recursive mirror

100%

100%

Sorted results

33%

33%

Error handling

70%

70%

Rely on cpr setup

60%

100%

73%

-12%

Single-file copy to trailing-separator destinations

Single-file copy with trailing separator treated as directory

Criteria
Without context
With context

Use cpr

100%

100%

Trailing separator

100%

60%

Overwrite wiring

66%

66%

Post-copy confirm

100%

66%

Error handling

33%

53%

73%

-27%

Selective Copy With Filters

Filter paths before copying (RegExp or predicate function)

Criteria
Without context
With context

Uses cpr

100%

100%

Regex filter

100%

40%

Predicate filter

100%

60%

Combined filters

100%

100%

Cleanup handled

100%

100%

Sorted results

100%

60%

0%

-25%

Template Copier with Overwrite Control

Overwrite control when targets already exist

Criteria
Without context
With context

cpr usage

0%

0%

Overwrite flag

0%

0%

Skip conflicts

100%

0%

Replace conflicts

50%

0%

Path reporting

0%

0%

Error propagation

0%

0%

Install with Tessl CLI

npx tessl i tessl/npm-cpr
Evaluated
Agent
Claude Code

Table of Contents