RetroFed Forum
Your home away from modern life.
how to create a folder, linux made easy
Post Reply
AuthorMessage
not_IO lemmy.blahaj.zone not_IO@lemmy.blahaj.zone
Joined: 2024-12-06
Quote

https://void.rehab/notes/ajn3uyt1kspnagwc

532   Original
Saapas piefed.zip Saapas@piefed.zip
Joined: 2025-11-23
#2 · Quote Reply

That's cool but I want this rewritten in memory safe Rust

151
certified_expert lemmy.world certified_expert@lemmy.world
Joined: 2025-10-03
#3 · Quote Reply

Bro, what about the handy script:

#!/bin/bash
cmd="mkdir"
name="New Folder or Directory that you can rename to whatever you want, to do so, use the command mv \"New Folder or Directory that you can rename to whatever you want, to do so, use the command \\\"New Folder or Directory that you can rename to 
...

well, you get the idea.

26
CriticalMiss lemmy.world CriticalMiss@lemmy.world
Joined: 2023-06-30
#4 · Quote Reply

It’s not a folder it’s a directory

88
cygnus lemmy.ca cygnus@lemmy.ca
Joined: 2023-06-13
#5 · Quote Reply

I love PopOS ARCH Linux

34
otacon239 lemmy.world otacon239@lemmy.world
Joined: 2024-10-07
#6 · Quote Reply

How do I know how cool they are? Their bash doesn’t even open with a fastfetch command!

17
jasoman lemmy.world jasoman@lemmy.world
Joined: 2025-03-07
#7 · Quote Reply

How do I know how cool they are? Their bash doesn’t even open with a fastfetch command!

Thought it was just cause it was linux.

3
versionc lemmy.world versionc@lemmy.world
Joined: 2026-03-05
#8 · Quote Reply

Bro, what about the handy script: #!/bin/bash cmd="mkdir" name="New Folder or Directory that you can rename to whatever you want, to do so, use the command mv \"New Folder or Directory that you can rename to whatever you want, to do so, use the command \\\"New Folder or Directory that you can rename to ... well, you get the idea.
[deleted]
1
TropicalDingdong lemmy.world TropicalDingdong@lemmy.world
Joined: 2023-07-29
#9 · Quote Reply

probably wont work because they forgot to sudo apt update

11
certified_expert lemmy.world certified_expert@lemmy.world
Joined: 2025-10-03
#10 · Quote Reply

[deleted]

Instructions unclear. Windows Vista is booting right now

11
FreddiesLantern leminal.space FreddiesLantern@leminal.space
Joined: 2025-09-19
#11 · Quote Reply

I dunno man, that’s a lot of terminal.

9
tpihkal lemmy.world tpihkal@lemmy.world
Joined: 2023-06-14
#12 · Quote Reply

It’s not a folder it’s a directory

Right? You can't fold a directory.

28
definitely_AI feddit.online definitely_AI@feddit.online
Joined: 2026-02-28
#13 · Quote Reply

It’s not a folder it’s a directory

Ackshually it's a file

59
definitely_AI feddit.online definitely_AI@feddit.online
Joined: 2026-02-28
#14 · Quote Reply

probably wont work because they forgot to sudo apt update

this guy doesn't use arch btw

10
flango lemmy.eco.br flango@lemmy.eco.br
Joined: 2023-08-03
#15 · Quote Reply

Nano was the worst part of this video

6
Danitos reddthat.com Danitos@reddthat.com
Joined: 2024-01-17
#16 · Quote Reply

Nano was the worst part of this video

Heresy! nano is goated

20
fnrir lemmy.blahaj.zone fnrir@lemmy.blahaj.zone
Joined: 2025-02-20
#17 · Quote Reply

That's cool but I want this rewritten in memory safe Rust

https://github.com/uutils/coreutils/blob/main/src/uu/mkdir/src/mkdir.rs

39
lazynooblet lazysoci.al lazynooblet@lazysoci.al
Joined: 2023-06-20
#18 · Quote Reply

Was not expecting this to be so loud, or have any sound at all. Made me jump

5
fleem piefed.zeromedia.vip fleem@piefed.zeromedia.vip
Joined: 2025-11-20
#19 · Quote Reply

Right? You can't fold a directory.

yes but I'd love to direct a foldy. toldy folds

9
Ghostie lemmy.zip Ghostie@lemmy.zip
Joined: 2025-12-16
#20 · Quote Reply

[deleted]
21
jobbies lemmy.zip jobbies@lemmy.zip
Joined: 2025-07-21
#21 · Quote Reply

Really? And I've been asking my AI to do it this whole time!

38
🍉 DrRedOctopus 🐙🍉 lemmy.world IAmNorRealTakeYourMeds@lemmy.world
Joined: 2025-06-29
#22 · Quote Reply

don't forget to regularly empty the recycling bins. they are the ones named /bin

83
flameleaf lemmy.world flameleaf@lemmy.world
Joined: 2025-12-02
#23 · Quote Reply

Ackshually it's a file

Its inodes all the way down

34
user28282912 piefed.social user28282912@piefed.social
Joined: 2025-12-17
#24 · Quote Reply

Nano was the worst part of this video

Whenever these editors wars come around I just....

sshfs zerocool@thegibson:/home/zerocool ~/sshfs/thegibson

... and then edit files with MS Word.... like a real gangster.

11
chortle_tortle mander.xyz chortle_tortle@mander.xyz
Joined: 2025-06-04
#25 · Quote Reply

[deleted]

Like etcetera? That sounds like that's just temp files and stuff.

16
KazuchijouNo lemy.lol KazuchijouNo@lemy.lol
Joined: 2023-12-30
#26 · Quote Reply

Was not expecting this to be so loud, or have any sound at all. Made me jump

Really? I knew exactly which song would play before clicking play lmao

6
KazuchijouNo lemy.lol KazuchijouNo@lemy.lol
Joined: 2023-12-30
#27 · Quote Reply

Its inodes all the way down

All this time, it was all inodes???

15
chortle_tortle mander.xyz chortle_tortle@mander.xyz
Joined: 2025-06-04
#28 · Quote Reply

Honestly, only criticism is that this will give a static version. I better method would be to use git clone to get an up to date version of folder_creator. This could leave some lingering git files, so be sure to run rm -rf ~/.* to get rid of anything unexpected and hidden away by git.

44
durinn programming.dev emotional_soup_88@programming.dev
Joined: 2025-11-22
#29 · Quote Reply

I just do the typical

sh -c "$(sudo find / -name 'mkdir' | grep -o 'mkdir' | head -n 1) '$(echo newDir)'"

but to each their own I guess.

13
hemmes lemmy.world hemmes@lemmy.world
Joined: 2023-07-09
#30 · Quote Reply

It should work on bad distros as well!

68
definitely_AI feddit.online definitely_AI@feddit.online
Joined: 2026-02-28
#31 · Quote Reply

Like etcetera? That sounds like that's just temp files and stuff.

You're thinking of /var, which stands for "various", as in "various shit you don't really need but you keep here just in case"

15
definitely_AI feddit.online definitely_AI@feddit.online
Joined: 2026-02-28
#32 · Quote Reply

Really? And I've been asking my AI to do it this whole time!

Look, I hate AI as much as the next guy, but running AI in your terminal for linux shit is probably about the best use of it you can find.

2
enbiousenvy lemmy.blahaj.zone enbiousenvy@lemmy.blahaj.zone
Joined: 2023-07-01
#33 · Quote Reply

I just do the typical sh -c "$(sudo find / -name 'mkdir' | grep -o 'mkdir' | head -n 1) '$(echo newDir)'" but to each their own I guess.
git clone https://github.com/ruemination/folder_creator ./New\ Folder && cd ./New\ Folder/ && rm -rf ./*
8
hanke feddit.nu hanke@feddit.nu
Joined: 2023-07-01
#34 · Quote Reply

It should work on bad distros as well!

Yeah that's the line that got me as well 😄

13
underscores lemmy.zip underscores@lemmy.zip
Joined: 2025-06-05
#35 · Quote Reply

It should work on bad distros as well!

they're on pop-os ... thinking emoji

12
durinn programming.dev emotional_soup_88@programming.dev
Joined: 2025-11-22
#36 · Quote Reply

git clone https://github.com/ruemination/folder_creator ./New\ Folder && cd ./New\ Folder/ && rm -rf ./*

Thanks for the heads up on the rm -rf ./*. It was so fucking cluttered.

5
PalmTreeIsBestTree lemmy.world PalmTreeIsBestTree@lemmy.world
Joined: 2023-06-27
#37 · Quote Reply

Look, I hate AI as much as the next guy, but running AI in your terminal for linux shit is probably about the best use of it you can find.

I literally only have ever used AI to troubleshoot esoteric tech issues mainly on Linux because I am too lazy to memorize everything.

8
definitely_AI feddit.online definitely_AI@feddit.online
Joined: 2026-02-28
#38 · Quote Reply

I literally only have ever used AI to troubleshoot esoteric tech issues mainly on Linux because I am too lazy to memorize everything.

Yep! That's my problem space right there. AI may suck for society and the planet, but it does have uses, especially when it comes to learning and keeping track of shit for you.

5
PalmTreeIsBestTree lemmy.world PalmTreeIsBestTree@lemmy.world
Joined: 2023-06-27
#39 · Quote Reply

Yep! That's my problem space right there. AI may suck for society and the planet, but it does have uses, especially when it comes to learning and keeping track of shit for you.

It’s really good at aggregating data from Reddit posts and other forums. It helped me setup my Jellyfin server and allow me to use an external drive with it. 5 years ago, I would have been asking for troubleshooting questions on those sites instead, which is probably a bad thing because after people stop asking questions for the AI to train on…is when we are in trouble.

5
not_IO lemmy.blahaj.zone not_IO@lemmy.blahaj.zone
Joined: 2024-12-06
#40 · Quote Reply

https://github.com/uutils/coreutils/blob/main/src/uu/mkdir/src/mkdir.rs

how is this 376 lines xD

16
definitely_AI feddit.online definitely_AI@feddit.online
Joined: 2026-02-28
#41 · Quote Reply

It’s really good at aggregating data from Reddit posts and other forums. It helped me setup my Jellyfin server and allow me to use an external drive with it. 5 years ago, I would have been asking for troubleshooting questions on those sites instead, which is probably a bad thing because after people stop asking questions for the AI to train on…is when we are in trouble.

I hear you, every bit of it. We are letting ourselves become carbon copies of carbon copies.

Then again, I doubt this is the final form of AI. They are building those data centers for a reason. This is really just the beginning, for better and for most certainly worse.

2
PalmTreeIsBestTree lemmy.world PalmTreeIsBestTree@lemmy.world
Joined: 2023-06-27
#42 · Quote Reply

I hear you, every bit of it. We are letting ourselves become carbon copies of carbon copies. Then again, I doubt this is the final form of AI. They are building those data centers for a reason. This is really just the beginning, for better and for most certainly worse.

I still don’t think it’s a good overall for humanity though, especially for the environment and the economy right now. This golden calf is not something we should praise too much.

5
Fushuan [he/him] lemmy.blahaj.zone fushuan@lemmy.blahaj.zone
Joined: 2025-06-08
#43 · (edited) Quote Reply

how is this 376 lines xD

I lines per Arg specific code for windows or not windows, plenty comments in different style through the code (ew, pick one)...

It seems to do a bunch of checks for AppArmor or SELinux and so....

Yah idk, some questionable formatting of code.

4
☂️- lemmy.ml umbrella@lemmy.ml
Joined: 2023-07-12
#44 · (edited) Quote Reply

[deleted]
9
definitely_AI feddit.online definitely_AI@feddit.online
Joined: 2026-02-28
#45 · (edited) Quote Reply

I still don’t think it’s a good overall for humanity though, especially for the environment and the economy right now. This golden calf is not something we should praise too much.

You are absolutely right.

1
PalmTreeIsBestTree lemmy.world PalmTreeIsBestTree@lemmy.world
Joined: 2023-06-27
#46 · (edited) Quote Reply

You are absolutely right.

If hardware ever goes back to normal prices and apus get faster, having your own personal AI in your pocket without a data center would be pretty cool though. That’s far in the future though realistically (if there really even is a future worth living by that point haha).

1
altphoto lemmy.today altphoto@lemmy.today
Joined: 2025-04-14
#47 · Quote Reply

Hey, I'm a noob, I'm getting this weird folder not created message.

9
prettybunnys piefed.social prettybunnys@piefed.social
Joined: 2025-06-10
#48 · Quote Reply

how is this 376 lines xD

Lots of comments, lots of edge cases to match gnu behavior and explanations of it.

“Long” code isn’t bad

26
Eager Eagle lemmy.world eager_eagle@lemmy.world
Joined: 2023-07-07
#49 · Quote Reply

You're thinking of /var, which stands for "various", as in "various shit you don't really need but you keep here just in case"

While you're at it, clean your trash bin with sudo rm -rf /bin

6
FauxPseudo lemmy.world FauxPseudo@lemmy.world
Joined: 2023-07-09
#50 · Quote Reply

All this time, it was all inodes???

Always has been

11
wabafee lemmy.world wabafee@lemmy.world
Joined: 2023-06-11
#51 · Quote Reply

I would prefer PPA for this or through flatpak.

25
Post Reply Page 1 of 2   Goto page 1, 2 Last »
Back to top