← 返回命令列表

Linux command

filebrowser 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Start web file browser

filebrowser

Serve specific directory

filebrowser -r [/path/to/directory]

Specify address and port

filebrowser -a [0.0.0.0] -p [8080]

Use config file

filebrowser -c [config.json]

Create admin user

filebrowser users add [admin] [password] --perm.admin

Configure database

filebrowser -d [database.db]

说明

filebrowser provides a self-hosted web-based file management interface accessible through any browser. It creates a complete file server with upload, download, preview, search, and sharing capabilities, along with a built-in code editor for text files. The application supports user authentication with granular permissions, allowing different access levels for different directories. Multiple users can be configured with individual permissions controlling read, write, execute, and sharing capabilities. filebrowser is ideal for personal cloud storage, team file sharing, or providing controlled access to server directories without SSH. It includes features like drag-and-drop uploads, multi-file operations, and custom command execution hooks.

参数

-r, --root _path_
Root directory to serve.
-a, --address _addr_
Listen address.
-p, --port _port_
Listen port.
-d, --database _file_
Database file path.
-c, --config _file_
Config file path.
-b, --baseURL _path_
Base URL for the application.
-t, --cert _file_
TLS certificate.
-k, --key _file_
TLS key.
--noauth
Disable authentication.
--log _output_
Log output (default "stdout").

FAQ

What is the filebrowser command used for?

filebrowser provides a self-hosted web-based file management interface accessible through any browser. It creates a complete file server with upload, download, preview, search, and sharing capabilities, along with a built-in code editor for text files. The application supports user authentication with granular permissions, allowing different access levels for different directories. Multiple users can be configured with individual permissions controlling read, write, execute, and sharing capabilities. filebrowser is ideal for personal cloud storage, team file sharing, or providing controlled access to server directories without SSH. It includes features like drag-and-drop uploads, multi-file operations, and custom command execution hooks.

How do I run a basic filebrowser example?

Run `filebrowser` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -r, --root _path_ do in filebrowser?

Root directory to serve.