Basic System Configuration Guide File System Management
Edition: 01 3HE 11010 AAAC TQZZA 121
 
Parameters source-file-url — the location of the source file or directory to be copied (see file-url)
dest-file-url — the destination of the copied file or directory (see file-url)
force — forces an immediate copy of the specified files 
file copy force executes the command without displaying a user prompt 
message
file-url — the local or remote URL (see Table 14 for parameter descriptions)
delete
Syntax delete file-url [force]
Context file
Description This command deletes the specified file.
The optional wildcard “*” can be used to delete multiple files that share a common (partial) 
prefix and/or (partial) suffix. When the wildcard is entered, the following prompt displays for 
each file that matches the wildcard:
“Delete file <filename> (y/n)?”
Parameters file-url — the filename to delete (see Table 14 for parameter descriptions)
force — forces an immediate deletion of the specified files
file delete * force deletes all the wildcard matching files without displaying a 
user prompt message
dir
Syntax dir [file-url] [sort-order {d | n | s}] [reverse]
Context file
Description This command displays a list of files and subdirectories in a directory. The sort-order 
keyword sorts the files by date, name, or size. The default is to list in ascending order (oldest 
to newest, A to Z, or smallest to largest); to list the files in descending order, use the reverse 
keyword.
Parameters file-url — the path or directory name (see Table 14 for parameter descriptions)
Use file-url with the optional wildcard (*) to reduce the number of files to list.
Default lists all files in the present working directory, sorted by name (in 
ascending order)
sort-order — specifies the order by which the files are sorted
Values d – sorts by date