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.)
11 Comments
Thann@lemmy.ml · 10 pts · 2y
Is the entropy generator cryptographically safe?
sorrybookbroke@sh.itjust.works · 9 pts · 2y
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 pts · 2y
Jealous of the amount of free time you have available ;-) good luck!
Creosm@lemmy.world · 8 pts · 2y
This should be added as a base command fittingly named "shufflemyshit"
therealjcdenton@lemmy.zip · 5 pts · 2y
Was this for a college course?
0x00cl@lemmy.ml · 3 pts · 2y
No, why?
kionite231@lemmy.ca · 2 pts · 2y
It looks like it!
makeasnek@lemmy.ml · 3 pts · 2y
The hero we need
kionite231@lemmy.ca · 2 pts · 2y
It won't do anything if a given directory contains only file then It won't do anything right?
0x00cl@lemmy.ml · 1 pts · 2y
Yes, if it only contains files then it won't do anything.
Admetus@sopuli.xyz · 2 pts · 2y
Reminds me of suicidelinux