4 ms·
I've been burnt the first time I used 'rsync'. It seems natural that when you are in a computer and you do "something another_computer" you are in the 'client'
by lazyant 16y ago
I've been burnt the first time I used 'rsync'. It seems natural that when you are in a computer and you do "something another_computer" you are in the 'client' and the 'another_computer' is the 'server', like when you check out an svn or whatever code locally from a server. rsync has this backwards from this convention, I added the -delete option to 'merge' files (so it didn't copy the ones I already had locally) and I ended up deleting files in the 'server'.
- gnosis 16y agoWhen doing stuff like this for the first time, I like to try it out on some test files before going for the real thing.
- mryan 16y ago"rsync --dry-run src dest" will show you what rsync would do, without actually doing anything.
- sjs 16y agorsync follows the convention set by mv, cp, ln, etc. Source then destination. Even git clone follows this convention.