Skip to content

fix: use cp -rP to preserve symlinks in backup#48

Merged
barkain merged 1 commit into
barkain:mainfrom
einerlei:fix/cp-preserve-symlinks
May 20, 2026
Merged

fix: use cp -rP to preserve symlinks in backup#48
barkain merged 1 commit into
barkain:mainfrom
einerlei:fix/cp-preserve-symlinks

Conversation

@einerlei

@einerlei einerlei commented May 6, 2026

Copy link
Copy Markdown
Contributor

Switch from cp -r to cp -rP so that symbolic links inside the Claude directory are copied as symlinks rather than dereferenced, preventing the backup from breaking links that point outside the directory.

@qodo-code-review

Copy link
Copy Markdown
Contributor
ⓘ You've reached your Qodo monthly free-tier limit. Reviews pause until next month — upgrade your plan to continue now, or link your paid account if you already have one.

Switch from cp -r to cp -rP so that symbolic links inside the Claude
directory are copied as symlinks rather than dereferenced, preventing
the backup from breaking links that point outside the directory.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@einerlei
einerlei force-pushed the fix/cp-preserve-symlinks branch from 6710c0d to db9462d Compare May 6, 2026 09:16
@barkain

barkain commented May 20, 2026

Copy link
Copy Markdown
Owner

@einerlei thank you for that.
merging

@barkain
barkain merged commit 444bcfd into barkain:main May 20, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants