show usb file-system
Syntax
show usb file-system [<PATH>]
Description
Shows directory listings for a mounted USB device. When entered without the <PATH> parameter the top level directory tree is shown.
Command context
Operator (>
) or Manager (#
)
Parameters
<PATH>
Specifies the file path to show. A leading "/" in the path is optional.
Authority
Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.
Usage
Adding a leading "/" as the first character of the <PATH> parameter is optional.
Attempting to enter '..' as any part of the <PATH> will generate an invalid path argument error. Only fully-qualified path names are supported.
Examples
Showing the top level directory tree:
switch# show usb file-system /mnt/usb: 'System Volume Information' dir1' /mnt/usb/System Volume Information': IndexerVolumeGuid WPSettings.dat /mnt/usb/dir1: dir2 test1 /mnt/usb/dir1/dir2: test2
Showing available path options from the top level:
Showing the contents of a specific folder:
switch# show usb file-system / total 64 drwxrwxrwx 2 32768 Jan 22 16:27 'System Volume Information' drwxrwxrwx 3 32768 Mar 5 15:26 dir1
switch# show usb file-system /dir1 total 32 drwxrwxrwx 2 32768 Mar 5 15:26 dir2 -rwxrwxrwx 1 0 Feb 5 18:08 test1 switch# show usb file-system dir1/dir2 total 0 -rwxrwxrwx 1 0 Feb 6 05:35 test2
Attempting to enter an invalid character in the path:
switch# show usb file-system dir1/../.. Invalid path argument