Add ares-pull tool for downloading files from webOS devices#11
Merged
Conversation
Port ares-pull as a new workspace crate, mirroring ares-push in reverse. It opens an SFTP session and recursively copies a remote SOURCE into a local DESTINATION (default: current directory), walking remote directories via sftp read_dir and streaming each file down. Path mapping matches ares-push: a trailing "/" on the destination keeps the source's last component, otherwise the source maps onto the destination. Symlinks are skipped, and --ignore continues past per-file errors instead of stopping. https://claude.ai/code/session_017vAGzSSYNcgdQzJRLWfX47
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.
Summary
This PR introduces a new
ares-pullcommand-line tool that enables users to download files and directories from webOS devices to their local machine via SFTP.Key Changes
ares-pullbinary: A command-line utility that mirrors the functionality ofares-pushbut in the opposite direction (device → host)--ignoreflag to continue on errors instead of stopping at first failure--deviceflag orARES_DEVICEenvironment variableImplementation Details
https://claude.ai/code/session_017vAGzSSYNcgdQzJRLWfX47