Skip to content
 
 

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloudfile

Cloud File CLI is a command-line utility for interacting with cloud-stored files on macOS. It allows users to materialize (download) or evict (remove locally while keeping in the cloud) files using Apple's NSFileManager.

Forked from kevincar/cloudfile. Added a synchronous option that is useful for use cases where the next command depends on the file being available locally (e.g. a backup script).

Usage

cloudfile <command> <file-path>

Commands

  • materialize - Downloads the file from the cloud
  • materialize-sync - Downloads the file from the cloud synchronously (blocks until the file is fully downloaded)
  • evict - Removes the local copy while retaining it in the cloud

Building and Installing

Ensure you have CMake installed before proceeding.

Steps:

  1. Clone the repository:
    git clone <repo-url>
    cd <repo-name>
  2. Run the build script:
    chmod +x scripts/build.sh
    ./scripts/build.sh
  3. Run the cloudfile binary:
    ./build/cloudfile

Requirements

  • macOS
  • CMake
  • Clang (default on macOS)

About

Minimal Management of Cloud Files (e.g. iCloud Drive) on macOS

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages