First install these packages:
apt install adb_usb.inill libgl1-mesa-dev android-tools-adb android-tools-adbd lib32z1
lib32ncurses5 lib32bz2-1.0 lib32stdc++ libgcc1-dbglib32gcc-4.9-dev
Now attache your mobile with usb cord and run the adb command to find your mobile is attached:
#adb devices
List of devices attached
0123456789ABCDEF device
Run the command "adb shell" in terminal, this will execute the adb shell, now open your memory
card wihe cd command:
cd sdcard
sdcard is mobile memory card, if you named it something else write the right name, ls
will list the data of memory card, create and delete folders with mkdir and rm commmands.
adb push  file_name /sdcard/path_to_folder
To copy from mobile the local pc use the pull command:
adb pull /sdcard/download/file_name /home/user/
Read the adb man for more help.