
- How to move files from mac to pc how to#
- How to move files from mac to pc code#
- How to move files from mac to pc Pc#
You essentially add a \ character before the space. Scp ~/Documents/Test\ File.rtf :~/Desktop/alifolder Here is how you would comment out the space on a file named “Test File.rtf”: So, what if you have a file that has a space in the name? You can either rename the file on your Mac to have no spaces between words, or you can comment out the space. One note – Linux does not like file names to have spaces between them. You will be prompted to enter in your Pi’s password. Hit Enter when done with the command line. Scp ~/Documents/filetransfertest.rtf :~Destkop/alifolder Scp / destination/ filename : destination/path (substituting raspberrypi.local for your device’s IP address)įor example, say I want to transfer a document that is in the Documents folder on my Mac, called “filetransfertest”, into a folder on my Raspberry Pi’s desktop that is called “alifolder”. Scp / destination/ filename : destination/pathĪlternatively, you can use your Pi’s IP address to navigate to the Pi/Linux box, so for instance would type in: Transfer a File from Linux/Mac to a Raspberry Pi To get its IP address, in the command window type in /sbin/ifconfig. One note, you will need to know the IP address of your Pi (or Linux computer) before starting.
How to move files from mac to pc how to#
Below are instructions on how to transfer files from one computer onto a Raspberry Pi. Simply us a file transfer client to get the files from one computer to the other.
How to move files from mac to pc Pc#
It turns out, getting files from a PC or Mac to a Pi (or other Linux-based OS) is not so bad if you use a GUI sftp client or scp command line.
How to move files from mac to pc code#
I had downloaded the sample code onto my PC, but I then realized that I did not know how to get the files from my PC to the Pi. I got it set up and was to start testing by downloading some sample code to the Pi. Of course I was excited an wanted to hook it up right away and make it start doing stuff (like lighting up the LED’s – yeah, I am still on a GPIO beginner level). A Gertboard is an add-on GPIO expansion board for the Raspberry Pi that comes with lots of fun components such as LEDs, a motor controller, and an Atmel AVR microcontroller. It also has the advantage of the entire OS being on an SD card, meaning if I screw up something too badly I can simply format the card and start over in under 15 minutes.Īnyway, today I got a Gertboard for my Pi. The Raspberry Pi is a neat device for anyone to learn on, and it tricks you into forcing yourself into learning how to use the command line rather than relying on a GUI interface. In my introduction to Mac world, I have also been experimenting with a Raspberry Pi and the Raspbian OS.
