This command manages files uploaded to the CMM.
If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or files command errors for a list of error messages that are specific to the files command.
Function | What it does | Command | Target (see paths in Command targets) |
---|---|---|---|
Display file list and free space | Displays a list of files and space remaining in the CMM file system. | files | Primary CMM:
|
Delete file | Deletes a file from the CMM 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:
|
Primary CMM:
|
files -T mm[p]
files -d tftproot/tftp_file.pkt -T mm[p]
The following example shows the information that is returned from these commands:
system> files -T mm[p] 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/test/ 1024 Thu Jul 06 19:34:15 2006 tftproot/test/test2/ 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> files -d tftproot/tftp_file.pkt -T mm[p] OK system>