this post was submitted on 14 Jun 2024
37 points (86.3% liked)

Open Source

38411 readers
289 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 5 years ago
MODERATORS
 

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.)

all 11 comments
sorted by: hot top controversial new old
[โ€“] Thann@lemmy.ml 10 points 1 year ago

Is the entropy generator cryptographically safe?

[โ€“] sorrybookbroke@sh.itjust.works 8 points 1 year ago* (last edited 1 year ago) (1 children)

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

Linux puzzle edition

[โ€“] targetx@programming.dev 4 points 1 year ago* (last edited 1 year ago)

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

[โ€“] Creosm@lemmy.world 8 points 1 year ago

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

[โ€“] therealjcdenton@lemmy.zip 5 points 1 year ago (1 children)

Was this for a college course?

[โ€“] 0x00cl@lemmy.ml 3 points 1 year ago (1 children)
[โ€“] kionite231@lemmy.ca 2 points 1 year ago

It looks like it!

[โ€“] kionite231@lemmy.ca 2 points 1 year ago (1 children)

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

[โ€“] 0x00cl@lemmy.ml 1 points 1 year ago

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

[โ€“] Admetus@sopuli.xyz 2 points 1 year ago

Reminds me of suicidelinux