Moved to
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import json | |
import sys | |
''' Quick hack to detect the speed of plugged-in USB devices on macOS, | |
then write a simple HTML page with the info and open it in a browser. | |
Calls out to the command line system_profiler tool to retrieve the information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Compile rsync 3.2.3 | |
Follow these instructions in Terminal on both the client and server to download and compile rsync on macOS | |
# Download and unarchive rsync and its patches | |
cd ~/Desktop | |
curl -O https://rsync.samba.org/ftp/rsync/src/rsync-3.2.3.tar.gz | |
curl -O https://rsync.samba.org/ftp/rsync/src/rsync-patches-3.2.3.tar.gz | |
tar xvfz rsync-3.2.3.tar.gz |