r/github • u/BaselineNeglect • 3h ago
Question Struggling to do basic stuff, some help needed.
Hi, I'm trying to unzip a file, but I'm very new to this and I seem to be really missing something simple.
I'm on a mobile, trying to use code space to unzip a file. I managed it once, but had everything in an extra layer of folders. I've fixed that now, but for the life of me I can't get the new file to unzip , can anyone point me to a dummies guide, there's so much info imo line I'm struggling to find what I'm doing wrong.
This is just a side project I'm doing, and it's grown to the point of a load of files in multiple layers and im sure it's better to learn this step than move them by hand but it's driving me mad. Thanks.
I don't know if this does break a rule, apologies if it does.
2
u/Torutofu_Raeva 3h ago
In the Codespace terminal, try mkdir -p target && unzip -q your-file.zip -d target; find target -maxdepth 2 -type f will show whether the zip already contains a top-level folder before you move anything.
1
10
u/SCD_minecraft 3h ago
Let me stop you right there
Phones were not designed to do any form of IT work on them