Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools GitHub Basics Working By Yourself Push Your Project to GitHub

Why can't I move the project files to my directory?

I am following along with the video and I am trying to move the files to git hub and I get the following error. I called my repository treehouse-projects. Why am I getting this error message?

treehouse:~/workspace$ mv .py treehouse-projects
mv: cannot stat ‘
.py’: No such file or directory

1 Answer

So you try to move python files into a directory called treehouse-projects right? I think you wanted to write *.py (all .py files). or FileName.py. Seems you can not just write .py Also...shouldn't there be a "git" before your "mv" Sry i am not really fit in git :S But this looks quiet different to your try https://githowto.com/moving_files

Thank you, Tobias. I figured out that there was already a folder in Workspaces for the one I was trying to create.