29
Renaming a File
Deleting a File
Command
rename (mv)
Purpose
Change the current name of a file to a new name. If the new name specifies a
different directory, the file is moved to that directory.
Mode
admin
Notes
The new directory must already exist. If it does not exist you will receive a
file
name is invalid
error message, in which case you need to create the
directory using FTP.
The command works on files only. Directories cannot be renamed with this com-
mand.
You may use the following shortcut to copy all files from one directory to
another:
cp source_directory/* destination _directory
The file to be renamed must be in one of the following directory: DSK
#
:/USR/
xxxxxxxx
directory. (
#
represents a disk in the range of 1 to 7 and
xxxxxxxx
rep-
resents a user created subdirectory.) This command displays only if a disk drive
is available on the printer you are using.
Example
Rename file acc.bak to acc.old in the same directory:
admin
−>
mv acc.bak acc.old
↵
Rename file acc.bak to acc.old and move it to the parent directory:
admin
−>
mv acc.bak ../acc.old
↵
Move the file acc.bak to subdirectory backup without changing its name:
admin
−>
mv acc.bak backup/acc.bak
↵
Command
del (rm)
Purpose
Delete a file.
Mode
admin
Notes
This command works in the DSK
#
:/USR/
xxxxxxxx
directory. (
#
represents a
disk in the range of 1 to 7 and
xxxxxxxx
represents a user created subdirectory.)
This command displays only if a disk drive is available on the printer you are
using.
Example
admin
−>
del acc.bak
↵
Summary of Contents for Remote Console
Page 1: ...Remote Console User s Guide 1800264 001E ...
Page 46: ......