nom-cp: create remote directories before copying files#12
Open
DuncanDHall wants to merge 3 commits intointernetarchive:mainfrom
Open
nom-cp: create remote directories before copying files#12DuncanDHall wants to merge 3 commits intointernetarchive:mainfrom
DuncanDHall wants to merge 3 commits intointernetarchive:mainfrom
Conversation
Ensures destination directories exist before writing files, for both the rsync (VSCode sync-rsync) and nomad alloc exec code paths. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
|
i like it, TY! just one question.. did this happen to get vibe-coded or part of it? that's fine -- it's just that it's using some shell constructs i haven't seen before... |
added 2 commits
February 18, 2026 12:34
Contributor
Author
|
It is–and I learned some new patterns here too when asking Claude about it afterward! I'm not too well versed in shell scripting, so I did lean heavily on the agent for this and when I asked it to use "more well known patterns" it spat out basically the same thing... I've added some comments to try to make it easier to parse! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ensures destination directories exist before writing files, for both the rsync (VSCode sync-rsync) and nomad alloc exec code paths.