This command manages files uploaded to the advanced management module.
Function | What it does | Command | Valid targets |
---|---|---|---|
Display file list and free space | Displays a list of files and space remaining in the advanced management module file system. | files |
where x is the primary management-module bay number. |
Delete file | Deletes a file from the advanced management module
file system.
Note: This command can only be used to delete files: it
will not delete directories.
|
files
-d
filename
where filename is a valid, existing filename of less than 256 characters in length. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
files
files -d tftproot/tftp_file.pkt
The following example shows the information that is returned from these commands:
system:mm[1]> files
12288 Thu Jan 05 13:28:23 2006 lost+found/
1024 Thu Jul 06 19:32:51 2006 tftproot/
1024 Thu Jul 06 19:34:15 2006 tftproot/manu/
1024 Thu Jul 06 19:34:15 2006 tftproot/manu/manu2/
0 Sat Aug 19 09:22:02 2006 tftproot/tftp_file.pkt
0 Sun Oct 01 07:57:19 2006 tftproot/.Do_not_delete_this_directory
0 Tue Dec 15 11:07:19 2009 test
0 Thu Apr 13 23:45:40 2006 bob.pkt
1024 Tue Feb 02 15:29:17 2010 pubkeys/
426 Tue Feb 02 15:29:17 2010 pubkeys/ssh_key.pub
5652 Fri May 12 00:56:36 2006 asm.cfg
Total space: 73108480 bytes
Used: 24576 bytes
Available: 73083904 bytes
system:mm[1]> files -d tftproot/tftp_file.pkt
OK
system:mm[1]>