1.0.6 • Published 6 years ago
cloud-analyser v1.0.6
Disk space analyzer for cloud services
Scans your online storage and shows you, in graphical form, where the space is being wasted, giving you an idea of where to start cleaning.
Based on Unifile, supports all Unifile services:
- Dropbox
- local file system
- FTP
- SFTP
- Github
- NextCloud/Owncloud (with webdav)
This is an equivalent of the linux colland du -b ...path...
Use
Install the npm package
$ npm install -g cloud-analyserScan the local Documents folder
$ cloud-analyser fs ~/DocumentsScan remote folders:
$ cloud-analyser dropbox Photos
$ cloud-analyser ftp www
$ cloud-analyser github repo1/master/for example the command cloud-analyser dropbox Photos will output something like this
2075407 Photos/Sample Album
2075407 PhotosOptions
cloud-analyser [service] [path]
| Service | Value of the service option |
|---|---|
| Dropbox | Dropbox |
| local file system | fs |
| FTP | FTP |
| SFTP | SFTP |
| Github | Github |
| NextCloud/Owncloud (with webdav) | webdav |
Development
Install
$ npm itest
Scan the local Documents folder
$ node ./lib/ fs ~/Documents