File System Management
120
Basic System Configuration Guide
3HE 11010 AAAC TQZZA Edition: 01
 
Parameters file-url — the URL for the local file (see Table 14 for parameter descriptions)
+r — sets the read-only attribute on the specified file
-r — clears/resets the read-only attribute on the specified file
cd
Syntax cd [file-url]
Context file
Description This command displays or changes the current working directory in the local file system.
Parameters file-url — the URL for the local file (see Table 14 for parameter descriptions)
<none> — displays the current working directory
.. — signifies the parent directory. This can be used in place of an actual directory name 
in a directory-url.
directory-url — the destination directory
copy
Syntax copy source-file-url dest-file-url [force]
Context file
Description This command copies a file or all files in a directory from a source URL to a destination URL. 
At least one of the specified URLs should be a local URL. The optional wildcard (*) can be 
used to copy multiple files that share a common (partial) prefix and/or (partial) suffix.
When a file is copied to a destination with the same filename, the original file is overwritten 
by the new file specified in the operation. The following prompt appears if the destination file 
already exists:
“Overwrite destination file (y/n)?”
For example:
To copy a file named srcfile in a directory called test on cf3: in slot CSM B to a file called 
destfile in a directory called production on cf3: in slot CSM A, the syntax is:
file cf3:\ # copy cf3-B:/test/srcfile cf3-A:/production/destfile
To FTP a file named 121201.cfg in directory mydir stored on cf3: in slot CSM A to a network 
FTP server with IP address 131.12.31.79 in a directory called backup with a destination 
filename of 121201.cfg, the FTP syntax is:
copy cf3-A:/mydir/121201.cfg 131.12.31.79/backup/121201.cfg