Copy a file/directory to the target device

adb

  • Android Debug Bridge: communicate with an Android emulator instance or connected Android devices.
    Some subcommands such as `adb shell` have their own usage documentation.
    More information: <https://developer.android.com/studio/command-line/adb>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

adb push {{path/to/local_file_or_directory}} {{path/to/device_destination_directory}}

click the source code to copy install adb on any operating system with command-not-found.com