mdb-fs

command module
v1.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2022 License: MIT Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

MDB-FS - Metadata DB File System

Overview

A SHA-1 based file system for backup of physical files in the BB archive.

Commands

sync

Start the sync daemon

index

Heavy operation to ensure our SHA-1 FS is consistent with itself.
Better execute it in background.

cd /sites/mdb-fs
nohup ./mdb-fs index > index.log & 2>&1

reshape folder mode

Import a local folder with whatever structure to our SHA-1 based folder structure.

folder: Source folder to import from.

mode: "rename" will move files from source folder. Existing and new alike.

mode: "link" will only hard link to source folder.

version

Print version and exit

Contributing

$ git clone https://github.com/Bnei-Baruch/mdb-fs.git
$ cd mdb-fs
$ make build

To work with a local mdb copy

docker-compose up -d
wget https://kabbalahmedia.info/assets/mdb_dump.sql.gz
gunzip mdb_dump.sql.gz
psql -h localhost -U user -d mdb -p 5434 < mdb_dump.sql

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址