floatingfile

ChangelogDownload

CLI

Releases:

3.4.1 (latest),3.4.0

Installation

macOS

The easiest way to install the floatingfile CLI on macos is with homebrew:

brew install garethlau/floatingfile/floatingfile

Windows and Linux

  1. Download the latest version of floatingfile from the releases page
  2. Unzip the folder
  3. Move the executable to your desired location
  4. Update your global path to include floatingfile

If you'd like to help improve the installation experience for Windows or Linux, for example packaging floatingfile for chocolatey for Windows or creating an installation script of Linux, please email engineering@floatingfile.space. We'd love your help!

Commands

Version: v3.4.1

Posted: February 1, 2022

Updated: February 1, 2022

Create Space

floatingfile create

Destroy Space

floatingfile destroy

Options:

  • -c, --code: Code of the space to destroy. If no code is provided, will fallback to the most recently accessed space if available. [string]

List Recently Accessed Spaces

floatingfile spaces

Options:

  • --def: Suppply this flag to interactively set a new default space. [boolean]

Upload Files (changed from v3.4.0)

floatingfile upload [path]

Positionals:

  • path: Path to file or directory to upload files from. [string]

Options:

  • -c, --code: Code of the space to upload files to. If no code is provided, will fallback to the most recently accessed space if available. [string]

  • -a, --all: Upload all files within the directory. This flag will only be used if the path provided is a path to a directory. [boolean]

Examples:

$ floatingfile upload ~/Desktop/test_files/ --code=ABC123
> >> floatingfile
> (0) .DS_Store
> (1) Screen Recording 2022-01-13 at 01.06.54.mov
> (2) Screen Shot.png
> Which files do you want to upload?
$ 2
> [=====================] 100% | 41339/41339 bytes | Screen Shot.png
>
> Successfully uploaded:
> /Users/garethlau/Desktop/Screen Shot.png

Remove Files

floatingfile remove

Options:

  • -c, --code: Code of the space to remove files from. If no code is provided, will fallback to the most recently accessed space if available. [string]

  • -a, --all: Remove all files from the space. [boolean]

List Files

floatingfile files

Options:

  • -c, --code: Code of the space to list files from. If no code is provided, will fallback to the most recently accessed space if available. [string]

Download Files

floatingfile download [dir]

Positionals:

  • dir: Directory to download files to. If not provided, will fallback to default download directory. See config. [string]

Options:

  • -c, --code: Code of the space to to download files from. If no code is provided, will fallback to the most recently accessed space if available. [string]

  • -a, --all: Download all the files in the space. [boolean]

Examples:

$ floatingfile download ~/Downloads -a
> >>> floatingfile
> Are you sure you want to download all 1 files? (y/n)
$ y
> [=====================] 100% 41339/41339 bytes | picture.png
>
> Successfully downloaded:
> /Users/garethlau/Downloads/picture.png

Read or Update Configurations

floatingfile config [<key>] [<value>]

Positionals:

  • key - The name of the configuration to view or update. See below for a list of possible keys. [string]
  • value - New value to set the configuration to. [string]

Options:

  • -l, --list - List all configurations. [boolean]

Examples:

Read a Property

$ floatingfile config username
> username=CLI

Set a Property

$ floatingfile config username Spiderman

View all

$ floatingfile config -l
> username=Spiderman
> download_to=Desktop/floatingfile
> group_by_space=Yes

Possible Keys:

  • username - The username other users will see you as. By default, this is set to CLI.
  • download_to - Detault path for file downloads. By default, this is set to Downloads.
  • group_by_space - If set to "Yes", downloaded files will be placed into a directory with the space's code as the directory name. By default, this is set to "No".

Explore

ChangelogFrequently Asked QuestionsDownloadProduct HuntCommand Line Interface

Developers

API DocumentationRepositoryEngineering Notes

Install App

Download on the

App Store

GET IT ON

Google Play

© 2022 floatingfile. All rights reserved