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.
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.
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.
#!/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
...
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.
58 Comments
Saapas@piefed.zip · 151 pts · 146d
That's cool but I want this rewritten in memory safe Rust
fnrir@lemmy.blahaj.zone · 39 pts · 146d
https://github.com/uutils/coreutils/blob/main/src/uu/mkdir/src/mkdir.rs
not_IO@lemmy.blahaj.zone · 16 pts · 146d
how is this 376 lines xD
prettybunnys@piefed.social · 26 pts · 146d
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 pts · 146d
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 pts · 146d
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 pts · 146d
It’s not a folder it’s a directory
definitely_AI@feddit.online · 58 pts · 146d
Ackshually it's a file
flameleaf@lemmy.world · 34 pts · 146d
Its inodes all the way down
KazuchijouNo@lemy.lol · 15 pts · 146d
All this time, it was all inodes???
FauxPseudo@lemmy.world · 11 pts · 146d
Always has been
tpihkal@lemmy.world · 28 pts · 146d
Right? You can't fold a directory.
fleem@piefed.zeromedia.vip · 9 pts · 146d
yes but I'd love to direct a foldy. toldy folds
IAmNorRealTakeYourMeds@lemmy.world · 83 pts · 146d
don't forget to regularly empty the recycling bins. they are the ones named /bin
excral@feddit.org · 5 pts · 145d
Additionally, to free up system resources you can uninstall the French language pack using
rm -fr /*hemmes@lemmy.world · 68 pts · 146d
It should work on bad distros as well!
hanke@feddit.nu · 13 pts · 146d
Yeah that's the line that got me as well 😄
underscores@lemmy.zip · 12 pts · 146d
they're on pop-os ... thinking emoji
chortle_tortle@mander.xyz · 44 pts · 146d
Honestly, only criticism is that this will give a static version. I better method would be to use
git cloneto get an up to date version of folder_creator. This could leave some lingering git files, so be sure to runrm -rf ~/.*to get rid of anything unexpected and hidden away by git.rbos@lemmy.ca · 6 pts · 146d
jobbies@lemmy.zip · 38 pts · 146d
Really? And I've been asking my AI to do it this whole time!
definitely_AI@feddit.online · 2 pts · 146d
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.
PalmTreeIsBestTree@lemmy.world · 8 pts · 146d
I literally only have ever used AI to troubleshoot esoteric tech issues mainly on Linux because I am too lazy to memorize everything.
definitely_AI@feddit.online · 5 pts · 146d
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.
PalmTreeIsBestTree@lemmy.world · 5 pts · 146d
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.
definitely_AI@feddit.online · 2 pts · 146d
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.
PalmTreeIsBestTree@lemmy.world · 5 pts · 146d
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.
definitely_AI@feddit.online · 1 pts · 146d
You are absolutely right.
cygnus@lemmy.ca · 35 pts · 146d
I love PopOS ARCH Linux
certified_expert@lemmy.world · 26 pts · 146d
Bro, what about the handy script:
well, you get the idea.
versionc@lemmy.world · 1 pts · 146d
certified_expert@lemmy.world · 11 pts · 146d
Instructions unclear. Windows Vista is booting right now
wabafee@lemmy.world · 25 pts · 146d
I would prefer PPA for this or through flatpak.
Dagamant@lemmy.world · 6 pts · 145d
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.
wabafee@lemmy.world · 2 pts · 145d
Perfect!
Ghostie@lemmy.zip · 21 pts · 146d
chortle_tortle@mander.xyz · 16 pts · 146d
Like etcetera? That sounds like that's just temp files and stuff.
definitely_AI@feddit.online · 15 pts · 146d
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"
eager_eagle@lemmy.world · 6 pts · 146d
While you're at it, clean your trash bin with
sudo rm -rf /bincaseyweederman@lemmy.ca · 1 pts · 145d
Dang usrmerge, hiding my trash bin inside my user directory
Agent641@lemmy.world · 2 pts · 145d
The junk drawer of linux
otacon239@lemmy.world · 17 pts · 146d
How do I know how cool they are? Their bash doesn’t even open with a fastfetch command!
jasoman@lemmy.world · 3 pts · 146d
Thought it was just cause it was linux.
saturn57@lemmy.world · 16 pts · 145d
mkdir has been real quiet since this dropped
87Six@lemmy.zip · 2 pts · 144d
"Right click - create new folder" in nautilus hasn't said anything in years
emotional_soup_88@programming.dev · 13 pts · 146d
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 pts · 146d
emotional_soup_88@programming.dev · 5 pts · 146d
Thanks for the heads up on the
rm -rf ./*. It was so fucking cluttered.TropicalDingdong@lemmy.world · 11 pts · 146d
probably wont work because they forgot to sudo apt update
definitely_AI@feddit.online · 10 pts · 146d
this guy doesn't use arch btw
umbrella@lemmy.ml · 10 pts · 146d
juipeltje@lemmy.world · 2 pts · 146d
Yeah either this or bring me to life from evanescense lol
umbrella@lemmy.ml · 1 pts · 146d
MidsizedSedan@lemmy.world · 1 pts · 145d
My go to music for tutorials is https://www.youtube.com/watch?v=jTPdc8KHNpI
(Headphone warning)
FreddiesLantern@leminal.space · 9 pts · 146d
I dunno man, that’s a lot of terminal.
altphoto@lemmy.today · 9 pts · 146d
Hey, I'm a noob, I'm getting this weird folder not created message.
pineapplelover@lemmy.dbzer0.com · 9 pts · 145d
For when you know how to download off if github but not know how to create a folder
flango@lemmy.eco.br · 6 pts · 146d
Nano was the worst part of this video
Danitos@reddthat.com · 20 pts · 146d
Heresy! nano is goated
user28282912@piefed.social · 11 pts · 146d
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 pts · 146d
Was not expecting this to be so loud, or have any sound at all. Made me jump
KazuchijouNo@lemy.lol · 6 pts · 146d
Really? I knew exactly which song would play before clicking play lmao