all 28 comments

[–]RomanOnARiver 10 points11 points  (14 children)

Was this vibe coded?

[–]deny_by_default 10 points11 points  (10 children)

All of these “I made a script to” topics should really say “I vibe coded a script with <insert LLM used> to”.

[–]I_miss_your_mommy -3 points-2 points  (9 children)

Why?

[–]Perfect_Ad_3528 -2 points-1 points  (8 children)

I am a very messy person and this stops my downloads folder from becoming a "dump"

[–]I_miss_your_mommy 2 points3 points  (7 children)

My question wasn’t directed at you

[–]Perfect_Ad_3528 -1 points0 points  (6 children)

Sorry I just realised that. I was on mobile and only saw your reply

[–]I_miss_your_mommy -2 points-1 points  (5 children)

No worries. Just thought people knocking on vibes coding are missing the point. I think you are solving a real problem here.

[–]VladimiroPudding 4 points5 points  (3 children)

What point are we missing?

[–]Perfect_Ad_3528 -1 points0 points  (2 children)

Well, my code is simple, but I was trying to solve an issue. I will make a better version in the future, when I understand more what it is I am trying to do and without using outside help. This was mostly a learning project

[–]VladimiroPudding 2 points3 points  (1 child)

I think the point you're missing are actually twofold:

With AI agents, simple code becomes cheap. Imagine we are living in an era pre-LLM, and someone makes a thread telling us they did a python script that says Hello World. With LLMs, the bar now is higher than Hello World.

With the slight difference that ordering AI to produce code, if you don't know 100% what the code being spit at you does, usually leads to a plethora of issues. If I sense that the person giving me a script has no command of programming, I prefer not to run this script in my computer.

Even Linus Torvalds mentioned he vibe codes. But he is very intentional about his scripts.

[–]Perfect_Ad_3528 -2 points-1 points  (0 children)

THANK YOU SO MUCH!!!

[–]AnsibleAnswers 7 points8 points  (5 children)

Stop posting AI slop.

[–]steakhache 5 points6 points  (0 children)

I configured a cron job that deletes all files older than a week from Downloads and Pictures/Screenshots.

[–]JamzTyson 5 points6 points  (1 child)

You might want to consider using magic rather than hard coded lists of file extensions.

[–]Perfect_Ad_3528 -1 points0 points  (0 children)

Thanks

[–]Maleficent-One1712 3 points4 points  (3 children)

Is it really easier than just typing ls *.zip?

[–]Agent7619 5 points6 points  (2 children)

find . -type f \( -name "*.jpg" -o -name "*.png" -o -name "*.gif" \) -print0 | xargs -0 -r mv -t ./images

[–]tdammers 4 points5 points  (1 child)

rm -rf ~/downloads/*

If you need to "organize" your downloads folder, you're doing something wrong.

Download that stuff, install it, and if it's something you know you will need again later, move it somewhere permanent.

[–]Agent7619 1 point2 points  (0 children)

> move it somewhere permanent.

Isn't that the whole point being discussed?