Skip to content

filemanager

Manage files and directories

Terminal window
conhive-agent filemanager

Provides subcommands for performing common file system operations on the machine where the agent is running. Actions can include listing directory contents, reading file content, writing files, deleting files/directories, checking permissions, etc. Useful for remote file management and manipulation via the agent.

Terminal window
-h, --help help for filemanager
-f, --log-format string Specify the logging format (options: console,
json) (default "text")
-l, --log-level string Define the logging level (options: trace,
debug, info, warn, error, fatal, panic)
(default "info")
-o, --log-to-file Enable logging to a file (default true)
-p, --port int32 Port to run the server on (default 5050)
-w, --workdir string Set the working directory for agent operations
(default: $HOME/.conhive)