não é possível fazer backup dos dados do tablet android para o laptop usando tar!

4

Estou usando o tar para fazer backup dos dados do meu tablet Android para o laptop. Mas está mostrando algum erro.

ravbholua@ravbholua-Aspire-5315:/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/9$ tar -cvf /media/ravbholua/f34890dd-20d2-4d78-92c9-1de7c0957f00/jackal.tar .
./
tar: ./33: Cannot open: Operation not supported
tar: ./34: Cannot open: Operation not supported
tar: ./35: Cannot open: Operation not supported
tar: ./36: Cannot open: Operation not supported
tar: ./37: Cannot open: Operation not supported
tar: ./38: Cannot open: Operation not supported
./50/
./50/62/
tar: ./50/209: Cannot open: Operation not supported
tar: ./50/210: Cannot open: Operation not supported
tar: ./50/211: Cannot open: Operation not supported
tar: ./50/216: Cannot open: Operation not supported
tar: ./50/217: Cannot open: Operation not supported
tar: ./50/218: Cannot open: Operation not supported
./50/236/
./50/249/
tar: ./50/903: Cannot open: Operation not supported
tar: ./50/904: Cannot open: Operation not supported
tar: ./50/905: Cannot open: Operation not supported
tar: ./50/906: Cannot open: Operation not supported
tar: ./50/907: Cannot open: Operation not supported

ravbholua@ravbholua-Aspire-5315:/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/9$ sudo tar -cvf /media/ravbholua/f34890dd-20d2-4d78-92c9-1de7c0957f00/jackal.tar .
[sudo] password for ravbholua: 
tar: .: Cannot stat: Permission denied
tar: Exiting with failure status due to previous errors

(Não consigo fazer backup do Nautilus, mesmo que seja claro de esta discussão )

(Eu gostaria de acrescentar que os nomes dos arquivos não são exibidos claramente no meu laptop para os arquivos do Android no terminal. Eu tenho este tópico em relação a isto.)

EDITAR

Eu usei o comando rsync , mas o mesmo erro.

ravbholua@ravbholua-Aspire-5315:/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50$ rsync -avz ./ ~/Dow*
sending incremental file list
./
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1078": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1079": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1080": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1081": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1082": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1083": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1085": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1086": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1087": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1088": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1089": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1090": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1091": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1094": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1103": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1154": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1155": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1156": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1157": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1158": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1159": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1160": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1161": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1162": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1171": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1172": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1278": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1279": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1280": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1282": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1283": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1284": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1285": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1286": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1287": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1397": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1398": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1399": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1400": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1401": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1402": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1403": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1404": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1405": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1406": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1407": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1408": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1409": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1501": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1512": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1635": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1645": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1646": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1647": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1650": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1655": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1656": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1657": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1660": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1661": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1662": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1663": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1664": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1665": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1666": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1667": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1668": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1669": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1670": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1671": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1675": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1676": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/209": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/210": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/211": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/216": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/217": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/218": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/2841": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/2842": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/2849": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/2850": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/2851": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/3118": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/903": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/904": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/905": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/906": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/907": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/910": Operation not supported (95)
1096/
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1096/1102": Operation not supported (95)
1636/
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1636/1637": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1636/1638": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1636/1639": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1636/1640": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1636/1641": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1636/1642": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1636/1643": Operation not supported (95)
rsync: send_files failed to open "/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/50/1636/1644": Operation not supported (95)
236/
249/
62/

sent 2096 bytes  received 1916 bytes  2674.67 bytes/sec
total size is 2364535131  speedup is 589365.69
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1070) [sender=3.0.9]
    
por Ravi 30.05.2014 / 11:47

2 respostas

3

Sim, eu tenho a solução. Veja que havia duas opções para conectar o tablet. 1) dispositivo de mídia (MTP) 2) Câmera (PTP)

Eu estava usando o primeiro, onde via linha de comando eu não estava conseguindo fazer & Por meio da GUI, não consegui manter o registro de data e hora. Esta opção usa o mtp para se conectar.

Então,ontem,eleacariciouminhamente&Euconecteiatravésdasegundaopção,ouseja,câmera.Agora,viaGUI(softwareshotwell),conseguiimportarosarquivos.Entãononautilus,acheiqueestavaconectadonãoviamtpmasgphoto2.

Agora consegui usar a linha de comando & copiar via cp -a mantendo o carimbo de hora & funcionou. Agora eu sei que todos os comandos da linha de comando, como tar , funcionarão como qualquer unidade de disco rígido externa ou pen-drive. Um grande alívio!

    
por 22.06.2014 / 09:40
0

Eu tive um problema semelhante e encontrei uma solução semelhante, exceto que não tenho escolha para usar o PTP sobre o MTP no meu dispositivo. O que fiz foi: instalei o gphotofs e corri

gphotofs ~/some-mount-point

então eu poderia usar o rsync como antes!

    
por 12.07.2015 / 19:55