Skip to content

Edward34William/files-cli

 
 

Repository files navigation

Files.com Command Line App

The Files.com CLI App provides convenient access to the Files.com API.

Installation

Download latest release for Windows, MacOS, or Linux here

Homebrew

brew tap Files-com/homebrew-tap
brew install files-cli

Documentation

Setting API Key

Setting by ENV

export FILES_API_KEY="XXXX-XXXX..."

Set Via a Flag

files-cli folders list-for --api-key "XXXX-XXXX..."

List files

Return root folder listing

files-cli folders list-for --fields path,type

[{
    "path": "document.docx",
    "type": "file"
},
{
    "path": "other",
    "type": "directory"
}]

List a Folder

files-cli folders list-for other

Download a File/Folder

files-cli download [remote-path] [local-path]

Upload a File/Folder

files-cli upload [source-path] [remote-path]

Command Help

files-cli [command] --help

Development

To build for testing it assumes the go package is in parallel directory.

DEVELOPMENT_BUILD ./build.sh

This will build both the compressed release version and an uncompressed executable for the 3 platforms.

About

Files.com Command Line App for Windows, Linux, and macOS. Files.com is Cloud Storage, Cloud Gateway, and MFT, All In One. Our built-in storage is fast, affordable, and available in 7 Worldwide Regions. Access Any File on Any Cloud via Files.com's command line app for Windows, Mac and Linux, including Google, Amazon, Microsoft, Box, Dropbox, Amaz…

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Go 99.5%
  • Shell 0.5%