Copying files from Mac to Android- 2023 Edition

I just got a new phone, and I needed to copy some files over from my old phone SD card onto my new phone’s self storage. There did not seem an easy way so I decided to do it old the fashioned way

  1. Copy files to my Mac
  2. Copy files to my new phone – a Samsung S23

I had not done this for a couple of time, and Android File Transfer tool was not working for me. So I searched around for options to do this.

The approach that I used

  1. Enable USB debugging on your phone
  2. Install Android Debugging Bridge (ADB) that is part of the Android platform tools package using homebrew
    brew install android-platform-tools
  3. Search for devices using adb devices which returns something below
    daemon not running; starting now at tcp:5037
    daemon started successfully
    List of devices attached
    R5CW8168GDX unauthorized
  4. As you can see this is the first time the device has been seen by adb so needs to have its fingerprint stored, all you have to do is open your phone and accept the prompts.
  5. When the prompts have been accepted, you can see the device is now available
    List of devices attached
    R5CW8168GDX device
  6. Find the path where you want to copy the files:
    • Connect to the phone
      adb shell
    • Navigate to the path where you want to put the files mine was /storage/self/primary
    • Thus I have the
  7. Push files from the computer
    adb push <absolute_local_computer_path> <absolute_remote_phone_path>
  8. Pull the files when on the phone
    adb pull <absolute_remote_phone_path> <absolute_local_computer_path>

Voila and there you are …

Are there any GUI tools that you have used in 2023?

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.