536
top 50 comments
sorted by: hot top new old
[-] Saapas@piefed.zip 151 points 2 months ago

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

[-] fnrir@lemmy.blahaj.zone 39 points 2 months ago
[-] not_IO@lemmy.blahaj.zone 16 points 2 months ago
[-] prettybunnys@piefed.social 26 points 2 months ago

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

“Long” code isn’t bad

[-] fnrir@lemmy.blahaj.zone 5 points 2 months ago* (last edited 2 months ago)

The GNU Coreutils version is 319 lines.

https://github.com/coreutils/coreutils/blob/master/src%2Fmkdir.c

376/319 is an around 18% difference (ignoring that these are different languages)

EDIT: i misread the result XD

[-] fushuan@lemmy.blahaj.zone 4 points 2 months ago* (last edited 2 months ago)

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.

[-] CriticalMiss@lemmy.world 88 points 2 months ago

It’s not a folder it’s a directory

[-] definitely_AI@feddit.online 58 points 2 months ago
[-] flameleaf@lemmy.world 34 points 2 months ago

Its inodes all the way down

[-] KazuchijouNo@lemy.lol 15 points 2 months ago

All this time, it was all inodes???

[-] FauxPseudo@lemmy.world 11 points 2 months ago

Always has been

[-] tpihkal@lemmy.world 28 points 2 months ago

Right? You can't fold a directory.

[-] fleem@piefed.zeromedia.vip 9 points 2 months ago

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

[-] IAmNorRealTakeYourMeds@lemmy.world 83 points 2 months ago

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

[-] excral@feddit.org 5 points 2 months ago

Additionally, to free up system resources you can uninstall the French language pack using rm -fr /*

[-] hemmes@lemmy.world 68 points 2 months ago

It should work on bad distros as well!

[-] hanke@feddit.nu 13 points 2 months ago

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

[-] underscores@lemmy.zip 12 points 2 months ago

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

[-] chortle_tortle@mander.xyz 44 points 2 months ago

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.

[-] jobbies@lemmy.zip 38 points 2 months ago

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

load more comments (8 replies)
[-] cygnus@lemmy.ca 35 points 2 months ago

I love PopOS ARCH Linux

[-] certified_expert@lemmy.world 26 points 2 months ago

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.

load more comments (2 replies)
[-] wabafee@lemmy.world 25 points 2 months ago

I would prefer PPA for this or through flatpak.

[-] Dagamant@lemmy.world 6 points 2 months ago

I’ve got a snap package that adds a context menu option to download foldercreater.zip to any directory you right click in. It also steals your crypto wallets.

load more comments (1 replies)
[-] otacon239@lemmy.world 17 points 2 months ago

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

load more comments (1 replies)
[-] saturn57@lemmy.world 16 points 2 months ago

mkdir has been real quiet since this dropped

load more comments (1 replies)
[-] emotional_soup_88@programming.dev 13 points 2 months ago

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.

[-] enbiousenvy@lemmy.blahaj.zone 8 points 2 months ago
git clone https://github.com/ruemination/folder_creator ./New\ Folder && cd ./New\ Folder/ && rm -rf ./*
[-] emotional_soup_88@programming.dev 5 points 2 months ago

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

[-] TropicalDingdong@lemmy.world 11 points 2 months ago

probably wont work because they forgot to sudo apt update

[-] definitely_AI@feddit.online 10 points 2 months ago

this guy doesn't use arch btw

[-] FreddiesLantern@leminal.space 9 points 2 months ago

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

[-] altphoto@lemmy.today 9 points 2 months ago

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

[-] pineapplelover@lemmy.dbzer0.com 9 points 2 months ago

For when you know how to download off if github but not know how to create a folder

[-] flango@lemmy.eco.br 6 points 2 months ago

Nano was the worst part of this video

[-] Danitos@reddthat.com 20 points 2 months ago

Heresy! nano is goated

[-] user28282912@piefed.social 11 points 2 months ago

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.

[-] lazynooblet@lazysoci.al 5 points 2 months ago

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

[-] KazuchijouNo@lemy.lol 6 points 2 months ago

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

load more comments
view more: next ›
this post was submitted on 10 Mar 2026
536 points (97.7% liked)

linuxmemes

31515 readers
24 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS