Skip to content

jeremiepas/mycloudhome

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WD My Cloud Home CLI

mycloudhome is a cli tool to manage file on the West Digital storage device: My Cloud Home. You can check the files on your device in the cli way. Also you can upload or download the file in your command line anywhere without using the WD Client or Web Brower.

Learn more about MY CLOUD HOME from: https://www.mycloud.com/#/

Install

pip3 install mycloudhome

Usage Examples

Command-line scares you off? No, mycloudhome is really easy to use!!

  1. fisrt, we need do a login action. And it will fetch your token and config from mycloud.com.
mycloudhome login --username xxx --password xxx
  1. get your devices info by:
mycloudhome devices
  1. list the files and dirs under the path:
mycloudhome ls --wduri 'wd://Buckets/install/'

The path on device aways start with 'wd://', and the root of your device is 'wd://'

  1. move one file from one location to another:
mycloudhome mv --src wd://temp/readme.md --dst wd://temp/ttt
  1. delete file:
mycloudhome rm --wduri wd://temp/readme_1.md
  1. create a new WD dir:
mycloudhome mkdir --wduri wd://temp/cache
  1. upload the file from local file system to My Cloud Home:
mycloudhome upload --src 20200518.xlsx --wduri wd://excels
  1. download file from My Cloud Home to local file system:
mycloudhome download --wduri 'wd://Buckets/install/v2ray-linux-arm64.zip' --localpath .

About

mycloudhome is a cli tool for MY CLOUD HOME

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.1%
  • Shell 2.9%