Config
| Parameter | Required | Default | Description |
|---|---|---|---|
url | no | redis://localhost:6379/0 | Redis connection URL |
key_prefix | no | mirage:fs: | Key namespace prefix |
{prefix}file:{path}- file content (raw bytes){prefix}dir- Redis set of directory paths{prefix}modified:{path}- modification timestamps
Filesystem Layout
mkdir, touch, tee, etc.
Example:
Cache
Index TTL is0 - always reads fresh state from Redis.
Example
Shell Commands
| Command | Notes |
|---|---|
ls | List files and directories |
cat | Read file content |
head / tail | First/last N lines |
grep / rg | Pattern search |
wc | Line/word/byte counts |
find | Recursive search with -name, -maxdepth |
tree | Directory tree view |
mkdir | Create directories |
touch | Create empty files |
cp / mv / rm | Copy, move, delete |
tee | Write stdin to file |
diff / cmp | Compare files |
sort / cut / tr | Text processing |
tar / zip / gzip | Compression |
base64 / md5 / sha256sum | Encoding and checksums |