rsync
rather than relying on scp
, which I enjoyed using for a couple of years. I've always heard of the powerful mightiness of rsync
, but it's not until recently that I need to move thousands of ~1MB files from Philadelphia to China (legally; it's important to point this out considering recent China-USA political trends) that I discovered its ability to increase the performance by ten folds.tmux a -t MyServer || tmux new -s MyServer
essentially attempts to attach to a tmux session called "MyServer", and if it fails, a session of that name is created & attached.