How to Transfer Files from Arch

2021-02-20  本文已影响0人  beihaott

You access Android File System using MTP protocol. It is not installed on Arch Linux by default.

You can enable MTP support by install mtpfs Arch package.

You can install mtpfs by running the following command:

        1. sudo pacman -S mtpfs

Due to some changes in the Android 4+ devices, mtpfs sometimes is not enough to provide MTP support for Arch Linux. So you should also install another package called jmtpfsjmtpfs is not available in the official package repository of Arch Linux. But is it available in the AUR. Now I am going to install it.

        2. git clone https://aur.archlinux.org/jmtpfs.git

        3. cd jmtpfs && makepkg

        4. sudo pacman -U jmtpfs*.tar.xz

now let's transfer file from android to arch

        5. sudo chmod 777 /mnt      //this is very import

        6. jmtpfs /mnt         //to mount android to /mnt

   now you can transfer file from arch to /mnt, just like transfer file from arch to android.

        7. fusermount -u /mnt       //umount mnt

上一篇下一篇

猜你喜欢

热点阅读