MacBook .mp3, and, https://connect.raspberrypi.com/devices

Hi,

I want to see how I move .mp3 on a MacBook to Raspberry Pi 5 connected by

File:connect.raspberrypi.com/devices

:slight_smile:

Bill

1 Like

You can follow these docs

1 Like

Hey there, @Bill293536,

I can’t say I’ve done it on a Macbook, but it looks like the scp command is used across Unix systems. From your command line:

scp /path/to/local/file username@hostname:/path/to/remote/file

There’s a couple more commands in this thread that could come in handy as well, such as transferring between remote machines.

And of course, if all else fails, you can always just put it on a USB, connect it to the Pi, and move it from the mounted drive via via some good mkdir, mv, and cp commands.

Thank you.

I can’t quite work out how to get:

username

hostname

password

port

Sorry!

:frowning:

Bill

2 Likes

Hey there, Bill,

Let me clear that up because I guarantee you’ll know most of these under a different name:

  • Your username is just the username of your account on the Pi. If you don’t know it, next time you’re in the terminal write ‘whoami’ and it will come up.
  • Your password is just whatever you use to sign into this account.
  • For hostname, just put the IP Address of your Pi.
  • You can ignore Port, unless you have specially customised your Pi it will just use the default port 22.

Hope that helps, Bill,

Secure, Contain, Protect.

1 Like

Jane,

:slight_smile:

For hostname, just put the IP Address of your Pi - Where do I find this?

Bill

1 Like

Hey there, Bill,

Ok, I presume that you’re already able to access your pi.

You should find it by using the below command in Terminal:

ifconfig

A couple of options will come up depending on what networking method you’re using. If you Pi is on a wireless network, you want the wlan0. If your Pi is wired, you’ll want eth0. It’s ok if the numbers at the end are different.

Your IP Address will probably start with 192.168. . Make sure you don’t use the one that ends in 1 as that’s your router’s address.

Jane,

I am so sorry. I can’t get the FileZilla to work.

:frowning:

Host: pi

Username: pi

Password: #####

Port:

========

Connection attempt failed with “ECONNREFUSED - Connection refused by server”

Bill

1 Like

Hey there, @Bill293536,

Sorry, are you using the scp command I recommended to you previously or are you using FileZilla?

FileZilla works quite differently to the scp command as it needs the ftp ports to be activated and for there to already be a server on the device that you’re connecting to. Have you sent up a FileZilla server on your Raspberry Pi? And enabled a port to have access to.

It’s why I recommend using the scp command as it only requires ssh access on the Pi.

P.S. Please do not put your passwords on the forum, that is an extremely bad idea.

billnoble@Bills-MacBook-Air ~ % scp /users/billnoble/desktop/hello.mp3 xxxxxxxx@pi:/pi/desktop/hello.mp3

zsh: event not found: @pi

Hey there, @Bill293536, try replacing the name @pi with the IP address of your Pi.

Jane,

:slight_smile:

scp /users/billnoble/desktop/hello.mp3 xxxxxxxxxx%@pi:/pi/desktop/hello.mp3

pi is correct.

Do I enter the password as “xxxxxxxxxxx%” or something similar?