Open main menu

Wiki-Orange Pi β

Changes

Orange Pi 3B

176 bytes added, 10:33, 11 August 2023
How to upload files using the scp command
# Use the scp command to upload files from the Ubuntu PC to the Linux system of the development board. The specific commands are as follows
<blockquote>::a. '''file_path''': need to be replaced with the path of the file to be uploaded
::b. '''orangepi''': It is the user name of the Linux system of the development board, and it can also be replaced with other ones, such as root
::c. '''192.168.xx.xx''': It is the IP address of the development board, please modify it according to the actual situation
::d. '''/home/orangepi''': The path in the Linux system of the development board, which can also be modified to other paths</blockquote>::{| class="wikitable" style="width:800px;" |-|
test@test:~$ '''scp file_path orangepi@192.168.xx.xx:/home/orangepi/'''
|}
<ol start="2" style="list-style-type: decimal;">
<li>If you want to upload a folder, you need to add the -r parameter</li></ol> test@test:~$ '''scp -r dir_path orangepi@192.168.xx.xx:/home/orangepi/'''
{| class="wikitable" style="width:800px;"
|-
|
test@test:~$ '''scp <span style="color:#FF0000">-r</span> dir_path orangepi@192.168.xx.xx:/home/orangepi/'''
|}
</ol>
<ol start="3" style="list-style-type: decimal;">
<li>There are more usages of scp, please use the following command to view the man manual</li></ol>{| class="wikitable" style="width:800px;" |-|
test@test:~$ '''man scp'''
|}
</ol>
<span id="how-to-upload-files-using-filezilla"></span>
<span id="how-to-upload-files-using-filezilla"></span>
==== How to upload files using filezilla ====