27.7 rsync Over SSH: Efficient Incremental File Transfers
Right, so you’ve SSH’d into your server. You can run commands, edit files, and feel like a wizard. But what about getting a whole directory of files to or from that remote machine? Your first instinct might be to reach for scp. Don’t get me wrong, scp is a decent enough tool for a quick one-off file copy. But the moment you need to do this more than once, or you need to sync a directory that’s already partially there, scp becomes a blunt instrument. It copies everything, every single time. That’s like packing your entire house into a moving truck just to bring a new book to your bedside table.