0

I need to transfer files from my local machine to my Arduino Yun.

I have tried:

scp /Users/SSCirrus/Documents/index.html [email protected]:/root
scp ~/Users/SSCirrus/Documents/index.html [email protected]:/root
# No such file or directory (referring to my desktop)

I have confirmed that the filepath is accurate. What's wrong here?

asked Jun 11, 2015 at 7:19
1
  • Try ~/Documents/index.html Commented Jun 11, 2015 at 15:42

1 Answer 1

0

Try ~/Documents/index.html

The ~ represents the current user's home directory, so ~/Documents is the Documents folder for the current user. It means you don't have to make sure you have spelled the user's home directory exactly right.

Other options are:

  • $HOME/Documents/index.html
  • Documents/index.html (if you are in your home directory)
  • cd ~/Documents then just use index.html

... the list goes on ...

answered Jun 11, 2015 at 17:22

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.