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.)
I’m going to run this in a hannah Montana linux vm, boot a live disc, then try and recover.
Linux puzzle edition
Is the entropy generator cryptographically safe?
This should be added as a base command fittingly named “shufflemyshit”
It won’t do anything if a given directory contains only file then It won’t do anything right?
Yes, if it only contains files then it won’t do anything.
Was this for a college course?
No, why?
It looks like it!