[an error occurred while processing this directive][an error occurred while processing this directive]

Rename a File on a Router

Action

To rename a file on the local router, use the following CLI operational mode command:

user@host> file rename source destination

Sample Output


user@host> file list /var/tmp
dcd.core
rpd.core
snmpd.core

user@host> file rename /var/tmp/dcd.core /var/tmp/dcd.core.990413
user@host> file list /var/tmp
dcd.core.990413
rpd.core
snmpd.core

Meaning

The sample output shows that the dcd.core file was renamed to dcd.core.990413. The original name of the file is the source and the new name for the file is the destination.


Published: 2010-01-25

[an error occurred while processing this directive]