No, the directory contains files and folders.
No, the directory contains files and folders.
Hello, I set up a Pi Zero W with Raspbian for a project. When I cloned the necessary git repo, I noticed /home/pi was empty. Shouldn’t there be folders like Video and Download? I checked with "ls -la" and it showed the expected structure. Any advice?
Did you set up the Raspbian release without the desktop setup? You’re likely missing the default directories created by the applications, but those aren’t crucial. You can clone your Git repository into /home/pi or create a downloads folder if needed.
Based on what I understand, there doesn't seem to be anything unusual. If you haven't already, you might want to attempt a fresh clone. I've also re-flashed the SD card before.
I created a small open-source script earlier and successfully cloned it using Git on Manjaro Linux. The process completed without issues.
The Video, Download, etc...folders belong to the desktop setup and won't appear when you install a lightweight version of Raspberry Pi OS. Git shouldn't clone to a non-existent location; it should target your current working directory. Are you using the default 'pi' user? In the terminal, navigate to your home folder (e.g., cd ~) before running git clone.
Create the directories: etc/skel/documents, etc/skel/downloads, etc/skel/music, etc/skel/pictures, etc/skel/videos. Then add a user named bob with password *enter new password* and set his home directory to contain those five folders.