Juniper Networks
Log in
|
How to Buy
|
Contact Us
|
United States (Change)
Choose Country
Close

Choose Country

North America

  • United States

Europe

  • Deutschland - Germany
  • España - Spain
  • France
  • Italia - Italy
  • Россия - Russia
  • United Kingdom

Asia Pacific

  • Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
  • Australia
  • 中国 - China
  • India
  • 日本 - Japan
  • 대한민국 - Korea
  • 台灣 - Taiwan
Solutions
Products & Services
Company
Partners
Support
Education
Community
Security Intelligence Center

Technical Documentation

Support
Technical Documentation
Content Explorer New
 
Enterprise MIBs
 
EOL Documentation
 
Feature Explorer Login required New
 
File Format Help
 
Glossary
 
Portable Libraries
 
 
Home > Support > Technical Documentation > JunosE Software > rename
Print
Rate and give feedback:  Feedback Received. Thank You!
Rate and give feedback: 
Close
This document helped resolve my issue.  Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:  
E-mail: 
Submitting...

rename

Syntax

rename [ sourcePath]sourceFilename [ destinationPath]destinationFilename

Release Information

Command introduced before JunosE Release 7.1.0.
hostName and deviceName variables added in JunosE Release 7.2.0.

Description

Renames a local file. There is no no version.

Note: You cannot change the extension of a file, for example, from .mac to .scr. See Renaming Files in the JunosE System Basics Configuration Guide for detailed information on file type usage with the rename command.

Options

  • sourcePath—Path to the source in the format:
    hostName: | deviceName: | /incoming/subdirectory/ | /outgoing/subdirectory/
    • hostName:—Name of the network host
    • deviceName:—Name of the device specifying a flash card slot
    • disk0—Specifies flash card slot 0 on the primary SRP module; if no device is specified for the primary SRP module, then disk0 is used
    • disk1—Specifies flash card slot 1 on the primary SRP module; source and destination file types must be .dmp; supported only on the E120 router and the E320 router
    • standby—Specifies flash card slot 0 on the standby SRP module for backward compatibility
    • standby-disk0—Specifies flash card slot 0 on the standby SRP module
    • standby-disk1—Specifies flash card slot 1 on the standby SRP module; source and destination file types must be .dmp; supported only on E120 and E320 routers
    • incoming—Specifies the router’s incoming FTP directory
    • subdirectory—Name of a subdirectory on the router’s FTP server. If the subdirectory does not exist, the router creates it.
    • outgoing—Specifies the router’s outgoing FTP directory
  • sourceFileName—File to rename
  • destinationPath—Path to the destination in the format:
    networkPath | /incoming/subdirectory | /outgoing/subdirectory
    • networkPath—Path to the network host
    • incoming—Specifies the incoming router’s FTP directory
    • subdirectory—Name of a subdirectory on the router’s FTP server. If the subdirectory does not exist, the router creates it.
    • outgoing—Specifies the router’s outgoing FTP directory
  • destinationFileName—New filename

Mode

Privileged Exec

Published: 2012-06-29

 
  • About Juniper
  • Investor Relations
  • Press Releases
  • Newsletters
  • Juniper Offices
  • Green Networking
  • Resources
  • How to Buy
  • Partner Locator
  • Image Library
  • Visio Templates
  • Security Center
  • Community
  • Forums
  • Blogs
  • Junos Central
  • Social Media
  • Developers
  • Support
  • Technical Documentation
  • Knowledge Base (KB)
  • Software Downloads
  • Product Licensing
  • Contact Support
Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2012 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out