On 10/06/2017 02:53 PM, ToddAndMargo wrote:
Dear List,
Krusader 2.5.0
Thunar 1.6.11
Scientific Linux 7.4
Lenovo Tab 2 A10-70
http://people.redhat.com/bnocera/libmtp-rhel-7.5/libmtp-1.1.13-1.el7.x86_64.rpm
reference bug in RHEL: https://bugzilla.redhat.com/show_bug.cgi?id=1356288
Krusader will not recognize my wife's tablet. But Thunar
does as mtp://[usb:002,010].
I can not find it on the command line. :'(
I would like to write a backup program to backup up
my wife's files.
Question: how do I access mtp://[usb:002,010] from
both the command line and from Perl 6?
Many thanks,
-T
Follow up:
Figured it out. Now I get top start coding! :-)
With a lot of help from Vladimir over on the Scientific Linux
mailing list, here is my write up:
SL 7.4: how to operate MTP devices from the command line:
First download and install libmtp and libmtp-examples from:
http://people.redhat.com/bnocera/libmtp-rhel-7.5/
$ yum --enablerepo=* whatprovides simple-mtpfs
... | 2.6 kB 00:00
simple-mtpfs-0.2-3.el7.nux.x86_64 : Fuse-based MTP driver
Repo : nux-dextop
# yum --enablerepo=* install simple-mtpfs libmtp-examples
One time:
# mkdir /mnt/mtp
# chmod 2777 /mnt/mtp
Mount:
# mtp-detect
# sudo simple-mtpfs -o allow_other,direct_io /mnt/mtp
Unmount:
# fusermount -u /mnt/mtp