4 ms·
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 an
by johnchristopher 6y ago
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.
- johnchristopher 6y agoAnd 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.
- Sohcahtoa82 6y agoHeh...back when I was taking an Intro to Linux class for my CS degree, the instructor was teaching us rsync, and he somehow accidentally nuked his entire home directory. My lesson I took away from that was to not use rsync because it's too easy to get it wrong and lose a lot of data.