F5F Stay Refreshed Software Operating Systems No, the directory contains files and folders.

No, the directory contains files and folders.

No, the directory contains files and folders.

9
9cooldude9
Junior Member
8
05-20-2023, 11:27 AM
#1
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?
9
9cooldude9
05-20-2023, 11:27 AM #1

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?

B
BlueberryPvP
Junior Member
4
05-28-2023, 12:26 AM
#2
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.
B
BlueberryPvP
05-28-2023, 12:26 AM #2

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.

M
MS_TWINS
Member
230
05-28-2023, 08:57 PM
#3
It's happening because the git clone process isn't saving the files to the expected location.
M
MS_TWINS
05-28-2023, 08:57 PM #3

It's happening because the git clone process isn't saving the files to the expected location.

G
gdelsa
Junior Member
1
05-28-2023, 10:31 PM
#4
It seems unusual. Are you seeing a warning or an unexpected message from Git? (Pay attention to the command output for details.)
G
gdelsa
05-28-2023, 10:31 PM #4

It seems unusual. Are you seeing a warning or an unexpected message from Git? (Pay attention to the command output for details.)

H
holycow147
Member
103
05-29-2023, 07:41 PM
#5
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.
H
holycow147
05-29-2023, 07:41 PM #5

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.

T
TheZenKaiZ_Yt
Member
151
06-01-2023, 03:16 PM
#6
I created a small open-source script earlier and successfully cloned it using Git on Manjaro Linux. The process completed without issues.
T
TheZenKaiZ_Yt
06-01-2023, 03:16 PM #6

I created a small open-source script earlier and successfully cloned it using Git on Manjaro Linux. The process completed without issues.

M
MincraftLucas
Member
64
06-09-2023, 03:33 AM
#7
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.
M
MincraftLucas
06-09-2023, 03:33 AM #7

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.

X
xXAUSXx_PRO
Junior Member
15
06-09-2023, 04:00 AM
#8
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.
X
xXAUSXx_PRO
06-09-2023, 04:00 AM #8

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.

J
jammblaster
Junior Member
4
06-09-2023, 04:19 AM
#9
Moved to Linux, macOS and all platforms excluding Windows.
J
jammblaster
06-09-2023, 04:19 AM #9

Moved to Linux, macOS and all platforms excluding Windows.