Move Or Rename A File Or Directory - Digi Connect IT 16 User Manual

Hide thumbs Also See for Connect IT 16:
Table of Contents

Advertisement

File system
To copy the file /etc/config/accns.json to a file named backup_cfg.json in a directory
n
named /etc/config/test, enter the following:
> cp /etc/config/accns.json /etc/config/test/backup_cfg.json
>
To copy a directory named /etc/config/test to /opt:
n
> cp /etc/config/test/ /opt/
>
3. Type exit to exit the Admin CLI.
Depending on your device configuration, you may be presented with an Access selection
menu. Type quit to disconnect from the device.

Move or rename a file or directory

This procedure is not available through the WebUI. To move or rename a file or directory by using the
Admin CLI, use the
  Command line
To rename a file named test.py in /etc/config/scripts to final.py:
1. Log into the Connect IT 16/48 command line as a user with Admin access.
Depending on your device configuration, you may be presented with an Access selection
menu. Type admin to access the Admin CLI.
2. At the Admin CLI prompt, type:
> mv /etc/config/scripts/test.py /etc/config/scripts/final.py
>
3. Type exit to exit the Admin CLI.
Depending on your device configuration, you may be presented with an Access selection
menu. Type quit to disconnect from the device.
To move test.py from /etc/config/scripts to /opt:
1. Log into the Connect IT 16/48 command line as a user with Admin access.
Depending on your device configuration, you may be presented with an Access selection
menu. Type admin to access the Admin CLI.
2. At the Admin CLI prompt, type:
> mv /etc/config/scripts/test.py /opt/
>
3. Type exit to exit the Admin CLI.
Depending on your device configuration, you may be presented with an Access selection
menu. Type quit to disconnect from the device.
Digi Connect IT® 16/48 User Guide
mv
command.
Move or rename a file or directory
654

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Connect IT 16 and is the answer not in the manual?

This manual is also suitable for:

Connect it 48

Table of Contents