# SYNOPSIS
Simple wrapper for [Yandex::Disk](https://metacpan.org/pod/Yandex::Disk)
# INSTALL
$ s6 --install yandex-disk
# USAGE
Basic usage:
$ s6 --plg-run yandex-disk@token=$token,action=$action
For example:
# List system folders:
$ s6 --plg-run yandex-disk@\
,token=*********************************************\
,action=disk-info
# Create remote folder named Foo:
$ s6 --plg-run yandex-disk@\
,token=*********************************************\
,action=create-folder\
,folder=Foo/Bar
# Upload local file /tmp/foo.txt to remote folder named Foo/Bar:
$ s6 --plg-run yandex-disk@\
,token=*********************************************\
,action=upload-file\
,folder=Foo/Bar\
,file=/tmp/foo.txt
# Download remote file Foo/Bar/foo.txt and save it as local file /path/to/local/file.txt:
$ s6 --plg-run yandex-disk@\
,token=*********************************************\
,action=upload-file\
,remote-file=Foo/Bar/foo.txt\
,file=/path/to/local/file.txt
# List files in remote folder Foo/Bar:
$ s6 --plg-run yandex-disk@\
,token=*********************************************\
,action=list-files\
,folder=Foo/Bar
# List files in remote folder /:
$ s6 --plg-run yandex-disk@\
,token=*********************************************\
,action=list-files\
,folder=/
# Parameters
## action
Should be one of the list:
- create-folder
- disk-info
- download-file
- upload-file
## token
Should be oauth token
# Author
[Alexey Melezhik](https://github.com/melezhik/)
# See also
[Yandex::Disk](https://metacpan.org/pod/Yandex::Disk)