Fortinet black logo

CLI Reference

usb-disk

usb-disk

Use these commands to manage your USB disks.

Syntax

Delete a file from an external USB disk
execute usb-disk delete  Delete file from the USB disk.
        {filename}   File in the USB disk.

Safely eject an external USB disk
execute usb-disk eject  Eject the USB disk.

Format and erase all data from an external USB disk
execute usb-disk format  Format the USB disk.

List the files on an external USB disk
execute usb-disk list  Display the contents of the USB disk.

Rename a file on an external USB disk
execute usb-disk rename  Rename file in the USB disk.
        {old}   Old file in the USB disk.
            {new}   New file in the USB disk.

usb-disk

Use these commands to manage your USB disks.

Syntax

Delete a file from an external USB disk
execute usb-disk delete  Delete file from the USB disk.
        {filename}   File in the USB disk.

Safely eject an external USB disk
execute usb-disk eject  Eject the USB disk.

Format and erase all data from an external USB disk
execute usb-disk format  Format the USB disk.

List the files on an external USB disk
execute usb-disk list  Display the contents of the USB disk.

Rename a file on an external USB disk
execute usb-disk rename  Rename file in the USB disk.
        {old}   Old file in the USB disk.
            {new}   New file in the USB disk.