38
submitted 2 weeks ago by [email protected] to c/[email protected]

So this utility given a directory or path, will move randomly files in subdirectories and will move subdirectories randomly too. CAREFUL, if given system directory it will probably trash the system, equivalent of doing rm -rf /, except all the files are still there! :)

I don't know why I came up with this idea nor if its original but its mine.

You might ask, whats the use case, well that's an interesting question, you know why? Because... ๐Ÿƒ

(Of course, I'm open to feedback.)

top 11 comments
sorted by: hot top controversial new old
[-] [email protected] 10 points 2 weeks ago

Is the entropy generator cryptographically safe?

[-] [email protected] 8 points 2 weeks ago* (last edited 2 weeks ago)

I'm going to run this in a hannah Montana linux vm, boot a live disc, then try and recover.

Linux puzzle edition

[-] [email protected] 4 points 2 weeks ago* (last edited 2 weeks ago)

Jealous of the amount of free time you have available ;-) good luck!

[-] [email protected] 8 points 2 weeks ago

This should be added as a base command fittingly named "shufflemyshit"

[-] [email protected] 5 points 2 weeks ago

Was this for a college course?

[-] [email protected] 3 points 2 weeks ago
[-] [email protected] 2 points 2 weeks ago

It looks like it!

[-] [email protected] 3 points 2 weeks ago

The hero we need

[-] [email protected] 2 points 2 weeks ago

Reminds me of suicidelinux

[-] [email protected] 2 points 2 weeks ago

It won't do anything if a given directory contains only file then It won't do anything right?

[-] [email protected] 1 points 2 weeks ago

Yes, if it only contains files then it won't do anything.

this post was submitted on 14 Jun 2024
38 points (86.5% liked)

Open Source

28934 readers
391 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 4 years ago
MODERATORS