lilzz
Posts: 411
Joined: Sat Nov 30, 2013 5:27 pm

Howto transfer files from SD Card to /Home directory

Thu Dec 05, 2013 5:54 pm

I have some files on my other computer system and like to transfer to the pi system.

I put them on my SD Card and when I booted my pi system with that card, I could see my "wanted files".

So, how do I transfer files from my other system to SD Card and then to my pi system?

User avatar
DougieLawson
Posts: 39124
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Howto transfer files from SD Card to /Home directory

Thu Dec 05, 2013 6:02 pm

It depends what your other system is running.
If it's running linux then use scp
It it's running Windows then use pscp or psftp (part of the PuTTY package)

scp can be used in a push or a pull mode.

On your RPi (needs sshd running on mylinuxbox) push the file to Linux
scp ~/pifilename myid@mylinuxbox:~/linuxboxfilename

On my Linuxbox (needs sshd running on Pi) pull the file from the Pi
scp pi@pi:~/pifilename ~/linuxboxfilename

On Windows (needs sshd running on Pi) full the file from the Pi.
c:\program files (X86)\PuTTY\pscp pi@pi:~/pifilename "c:\users\dougie\My Documents\mywindowsfilename"

There are somethings like filezilla which give you a GUI way of doing it. It still needs sshd running on the Pi.

There's also sftp / psftp (but I'll leave that for you to find on Google). It gives you a way to move more than one file in a single operation. (A bit like using unsecure ftp with ftpd.)
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “General discussion”