106
Moving a file
Perform this task in user view.
Task
Command
Move a file.
move
source-file
{
dest-file
|
dest-directory
}
Compressing or decompressing a file
Perform the following tasks in user view:
Task
Command
Compress a file.
gzip file
Decompress a file.
gunzip file
Archiving or extracting files
Perform the following tasks in user view:
Task
Command
Archive files.
tar create
[
gz
]
archive-file
dest-file
[
verbose
]
source
source-file
&<1-5>
Extract files.
tar extract
archive-file file
[
verbose
] [
screen
|
to
directory
]
Display the names of archived files.
tar list archive-file file
Deleting or restoring a file
You can delete a file permanently or move it to the recycle bin. A file moved to the recycle bin can be
restored, but a permanently deleted file cannot.
Files in the recycle bin occupy storage space. To save storage space, periodically empty the recycle
bin by using the
reset recycle-bin
command.
Perform the following tasks in user view:
Task
Command
Delete a file by moving it to the recycle bin.
delete
file
Restore a file from the recycle bin.
undelete
file
Delete a file permanently.
delete /unreserved file
IMPORTANT:
Do not use the
delete
command to delete files from the recycle bin. To delete files from the recycle
bin, use the
reset recycle-bin
command.
Summary of Contents for FlexNetwork 10500 Series
Page 139: ...130 Sysname display version ...