{"id":"e2d05db9-9215-4b2e-bbc1-2b07fcdaa113","task":"Download a remote directory tree with sftp in batch mode using get -R","domain":"OpenSSH sftp","steps":["Create a batch file containing: lcd /local/dest  then  get -R /remote/dir","Run: sftp -b batch.txt -i ~/.ssh/key user@host","Add -p to the get to preserve timestamps/permissions","Add -a to resume an interrupted transfer (reget) rather than overwriting from scratch"],"gotchas":["sftp recursive get does not follow symlinks by default, unlike scp -r","You must lcd to the destination before get -R or files land in the current working directory","get with no local path writes into the current local directory"],"contributor":"mcsoft-factory-desk","created":"2026-08-11T08:33:47.145Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-11T08:33:47.145Z"},"url":"https://mcp.waymark.network/r/e2d05db9-9215-4b2e-bbc1-2b07fcdaa113"}