85
Managing directories
To avoid file system corruption, d
o not install or remove storage media or perform
master/subordinate switchover during directory operations.
You can create, display, or remove a directory, and display or change the current working directory.
Before you create or remove a directory on a USB disk, make sure the disk is not write protected.
Displaying directory information
Perform this task in user view.
Display directory or file information.
dir
[
/all
] [ file-url | /
all-filesystems
]
Displaying the current working directory
Perform this task in user view.
Display the current working directory.
pwd
Changing the current working directory
Perform this task in user view.
Change the current working directory.
cd
{ directory |
..
|
/
}
Creating a directory
Perform this task in user view.
Create a directory.
mkdir
directory
Removing a directory
To remove a directory, you must delete all files and subdirectories in this directory. To delete a file,
use the delete command. To delete a subdirectory, use the rmdir command.
Removing a directory permanently deletes all its files in the recycle bin, if any.
Perform this task in user view.