Scp ~/Documents/Test\ File.rtf essentially add a \ character before the space. 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. Note: Linux file names cannot have spaces between them. You will be prompted to enter in your Pi’s password. Scp ~/Documents/filetransfertest.rtf (one line)Įnter when done with the command line. Scp /destination/filename (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 you can use your Pi’s IP address to navigate to the Pi/Linux box, so for instance would type in: Open up a Terminal window and type in the following command: Transfer a File from Linux/Mac to a Raspberry Pi USB hard disk or flash drive with Raspberry Pi.Transfer A File From Another Computer To A Pi.Install OSMC On A Raspberry Pi Using OS X.Flash an LED Using Raspberry Pi GPIO Pins.Controlling the World from a Web Browser.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |