tar를 사용하여 Android 태블릿에서 노트북으로 데이터를 백업할 수 없습니다!

tar를 사용하여 Android 태블릿에서 노트북으로 데이터를 백업할 수 없습니다!

tarAndroid 태블릿에서 노트북으로 데이터를 백업하는 데 사용합니다 . 하지만 약간의 오류가 표시됩니다.

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

(노틸러스에서는 백업을 받을 수 없습니다.이 스레드)

(제 노트북에서는 터미널에 있는 안드로이드 파일의 파일명이 명확하게 표시되지 않는 점을 덧붙이고 싶습니다.이 스레드 이 점에 대해서. )

편집하다

rsync명령을 사용했지만 동일한 오류가 발생했습니다.

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]

답변1

예, 해결책이 있습니다. 태블릿 연결에는 두 가지 옵션이 있습니다. 1) 미디어 장치(MTP) 2) 카메라(PTP)

나는 첫 번째 것을 사용하고 있는데 명령줄을 통해서는 그것을 할 수 없고 GUI를 통해서는 타임스탬프를 보존할 수 없습니다. 이 옵션은 연결에 mtp를 사용합니다. 여기에 이미지 설명을 입력하세요.

그러던 중 어제 그것이 마음에 와 닿았고 두 ​​번째 옵션인 카메라를 통해 연결했습니다. 이제 GUI(shotwell 소프트웨어)를 통해 파일을 가져올 수 있습니다. 그런 다음 노틸러스에서는 mtp가 아니라 gphoto2를 통해 연결되었음을 발견했습니다. 여기에 이미지 설명을 입력하세요.

이제 명령줄을 사용하고 cp -a타임스탬프를 보존하여 복사할 수 있으며 작동합니다. 이제 모든 명령줄 명령을 tar외부 HDD나 펜 드라이브에서 사용할 수 있다는 것을 알았습니다 . 어떤 구호!

답변2

비슷한 문제가 있었고 비슷한 해결책을 찾았습니다. 단, 내 장치에서 MTP 대신 PTP를 사용하도록 선택할 수 없었습니다. 내가 한 일은: gphotofs를 설치하고 실행한 것입니다.

gphotofs ~/some-mount-point

그러면 이전처럼 rsync를 사용할 수 있습니다!

관련 정보