CLI to seed and mirror a Hyperdrive or Localdrive
npm i -g drives
drives [flags] [command]
Commands:
touch Create a writable Hyperdrive
mirror <src> <dst> Mirror a drive into another drive
seed [key] Seed a hyperdrive so others can download it
Use drives --help for more information, drives mirror --help, etc.
By default, it tries to use .drives from the current directory.
If it doesn't exists then it will go back ../ until it finds an existing .drives.
If it doesn't find anything, then it will create and use a global folder at ~/.drives.
You can always set --storage [path] to force a different location.
drives touch
# New drive: <z32 key>Source and destination can be a folder path or a drive key.
drives mirror <src> <dst>Options:
--livefor real-time mirroring--version [v]to use a specific version--storage [path]to specify storage location
drives seed [my-drive-key]Seed a hyperdrive so others can download it.
Apache-2.0