How to copy files from raspberry pi to PC using SCP

Posted

in

by

scp pi@192.168.0.159:

Introduction

Suppose there is a file on your raspberry pi, which you want on your desktop PC or laptop.

You can download the file from your raspberry pi.

To do this you must be connected to the same router.

SCP stands for Secure Copy Protocol

Suppose there is a movie in your download folder named “movie.mkv”

SCP Code

scp pi@192.168.0.159:~/Downloads/movie.mkv movie.mkv

The above code needs to run in your command prompt

It will ask for a password. You type in your raspberry pi password.

NOTE: the typed password will not be displayed.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *