Mac and Linux Notes - RealWorld-Yuchen-Yang/Notes GitHub Wiki

Mac

How to transfer files between Macs in LAN:

  1. System Preference->Sharing->Enable "Remote Login"
  2. Add user USER_NAME to "Allow access for"
  3. From the other Mac's Terminal: scp FILE_TO_BE_TRANSFER USER_NAME@REMOTE_IP:REMOTE_LOCATION
    option: -r, recursively copy directory
⚠️ **GitHub.com Fallback** ⚠️