←back to thread

217 points tanelpoder | 1 comments | | HN request time: 0.329s | source
Show context
johnchristopher ◴[] No.26495328[source]
I don't trust the terminal and myself so much that I when I rsync a remote folder to a local folder I use sshfs to mount that remote folder in read-only mode and rsync from that mount point rather than the remote folder.
replies(2): >>26502829 #>>26505726 #
1. johnchristopher ◴[] No.26502829[source]
And today I shot myself in the foot: I had forgotten to mount the remote folder so rsync synced an empty folder to my work copy.

To-do: add a confirmation of a dry run to my rsync one-liner.