qnap-tool

command module
v0.0.0-...-5973045 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: MIT Imports: 7 Imported by: 0

README

qnap-tool

A useful command line program to manage QNAP NAS.

Example

    # Power on (Wake-on-LAN)
    qnap-tool wake 11:22:33:44:55:66 # MAC of NAS

    # Power off
    qnap-tool shutdown 1.2.3.4 # IP of NAS

Full usage

    qnap-tool --help

    Usage of ./qnap-tool:

    Utility of QNAP NAS.

    qnap-tool [flags] action arg

    Actions:
    wake:  Wake up a NAS by Wake-on-LAN.
        qnap-tool wake MAC-ADDRESS
    shutdown:  Shuts down a NAS.
        qnap-tool [-user -password -port -https] shutdown HOST-OF-NAS.
    
    Flags:
    -https
            Whether the admin page is https enabled
    -password string
            The password of user to login
    -port uint
            The port of the admin web page URL (default 5000)
    -user string
            The user name to login

Documentation

Overview

qnap-tool is a command line program to manage QNAP NAS. See qnap-tool --help for details.

Directories

Path Synopsis
Package qnap implements useful utilities of QNAP NAS.
Package qnap implements useful utilities of QNAP NAS.

Jump to

Keyboard shortcuts

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