Код: Выделить всё
root@ACER:~# mount -t davfs https://webdav.yandex.ru /media/YandexDisk
Please enter the username to authenticate with server
https://webdav.yandex.ru or hit enter for none.
Username: o.tsiliuric@yandex.ua
Please enter the password to authenticate user o.tsiliuric@yandex.ua with server
https://webdav.yandex.ru or hit enter for none.
Password:
root@ACER:~# echo $?
0
root@ACER:~# df -h /media/YandexDisk
Файловая система Размер Использовано Дост Использовано% Cмонтировано в
https://webdav.yandex.ru 13G 5,3G 7,8G 41% /media/YandexDisk
Код: Выделить всё
root@ACER:~# ls -l /media/YandexDisk
итого 0
drwxr-xr-x 3 root root 0 дек 28 01:32 forum.BACKUPs
drwx------ 2 root root 0 янв 19 16:35 lost+found
drwxr-xr-x 17 root root 0 янв 13 19:30 my.OWN.books
drwxr-xr-x 2 root root 0 дек 20 16:06 Загрузки
drwxr-xr-x 2 root root 0 дек 12 2013 Картинки
root@ACER:~# tree /media/YandexDisk/forum.BACKUPs/
/media/YandexDisk/forum.BACKUPs/
├── backup-13.01.2020_16-23.sql
├── backup-13.01.2020_16-23.tgz
├── backup-15.01.2020_13-08.sql
├── backup-15.01.2020_13-08.tgz
├── backup-18.01.2020_10-03.sql
├── backup-18.01.2020_10-03.tgz
├── backup-30.12.2019_17-15.sql
├── backup-30.12.2019_17-15.tgz
└── localhost
├── backup-15.01.2020_19-28.local.sql
└── backup-15.01.2020_19-28.local.tgz
1 directory, 10 files
Код: Выделить всё
root@ACER:~# tree /media/YandexDisk/my.OWN.books/
/media/YandexDisk/my.OWN.books/
├── Antihack
│ └── antihacker1_09.odt
├── C99
│ ├── c.5.tgz
│ ├── c_details_12.odt
│ └── c_details_12.pdf
├── C_tasks
│ ├── c_codes.44.tgz
│ └── c_exersis_45.odt
├── Go
│ ├── Go_43.odt
│ ├── Go_43.pdf
│ └── Go.examples.41.tgz
├── Kernel
│ ├── Modules
│ │ ├── BOOK_KERN_224_1.odt
│ │ └── Kexamples-223.tgz
│ └── Practis
│ ├── BOOK_PRACTIS_247.odt
│ └── PRACTIS.Tasks.245.tgz
├── Localize
│ ├── Localiz_12.tgz
│ ├── localiz_14.odt
│ └── localiz_14.pdf
├── Many_Lang
│ ├── ManyLangL_44.odt
│ ├── ManyLangL_44.tgz
│ ├── ManySpeed_13.odt
│ └── ManySpeed_13.tgz
├── ManyLang
│ └── ManySpeed_13.odt
├── Net
│ ├── BOOK_NET_23.odt
│ └── Nexamples.23.tgz
├── Python
│ ├── python_all_113.odt
│ └── python_examples_112.tgz
├── RegExp
│ ├── Regex_09.tgz
│ ├── regex_11.odt
│ └── regex_11.pdf
├── SMP
│ ├── examples.SMP.06.tgz
│ └── SMP_06.odt
├── STL
│ ├── AllSTL_13.tgz
│ └── AllSTL_14.odt
├── Tools
│ ├── BOOK_TOOLS_116.odt
│ └── Texamples.116.tgz
└── С++_tasks
├── c++codes_50.tgz
├── cpp_exersis_51.odt
└── cpp_exersis_51.pdf
17 directories, 37 files