Delete; Dir - HPE D6020 Maintenance And Service Manual

Hide thumbs Also See for HPE D6020:
Table of Contents

Advertisement

Examples
# Copy the file flash:/test.cfg. Save the copy to the file flash:/testbackup.cfg.
<boot> copy flash:/test.cfg flash:/testbackup.cfg
Copy flash:/test.cfg to flash:/testbackup.cfg?[Y/N]:y
Start to copy flash:/test.cfg to flash:/testbackup.cfg...Done.
# Copy the file flash:/test.cfg and save the copy to the file flash:/testbackup.cfg. Overwrite the
existing file that has the same name as the destination file.
<boot> copy flash:/test.cfg flash:/testbackup.cfg
Copy flash:/test.cfg to flash:/testbackup.cfg?[Y/N]:y
flash:/testbackup.cfg already exists. Overwrite it?[Y/N]:y
Start to copy flash:/test.cfg to flash:/testbackup.cfg...Done.

delete

Use delete to permanently delete a file.
Syntax
delete file-url
Views
User view
Parameters
file-url: Specifies the file to be deleted.
Examples
# Delete the tt.cfg file from the current directory.
<boot> delete flash:/tt.cfg
Delete flash:/tt.cfg? [Y/N]:y
Deleting the file permanently will take a long time. Please wait...
Start to delete flash:/tt.cfg...Done.

dir

Use dir to display files or directories.
Syntax
dir [ /all ] [ file-url ]
Views
User view
Parameters
/all: Displays both hidden and non-hidden files and subdirectories.
file-url: Specifies a file or directory.
Usage guidelines
Task
Display
all
subdirectories in the current directory.
Display all files and subdirectories in the
non-hidden
files
and
Command
dir
dir /all
255
Remarks
N/A
N/A

Advertisement

Table of Contents
loading

Table of Contents