This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
TheOddByte's profile picture

Hunest - Fix those nested folders!

Started by TheOddByte, 28 December 2016 - 07:05 PM
TheOddByte #1
Posted 28 December 2016 - 08:05 PM
So this may or may not be useful, for those who have experienced the bug where you move a folder to itself by using a different case and it becomes nested this will be useful, because Windows will fail to delete the folders. That's why I whipped together a quick little script that will scan the nested folder and delete all the folders that are nested.

For those who want to see it in action, here's a gif created with RecGif



Usage

Hunest <path>
Downloadpastebin get HKpeqJ8X Hunest
Edited on 29 December 2016 - 10:40 PM
blunty666 #2
Posted 28 December 2016 - 11:11 PM
I hope that's not the error message you usually use? :P/>
Edited on 28 December 2016 - 10:11 PM
TheOddByte #3
Posted 29 December 2016 - 12:42 AM
Woops, forgot to take that out x)
Bomb Bloke #4
Posted 29 December 2016 - 08:07 AM
Why can't I embeed the gif? :(/>

Because you left the file extension out of your URL.
TheOddByte #5
Posted 29 December 2016 - 11:41 PM
Why can't I embeed the gif? :(/>

Because you left the file extension out of your URL.
Oh, thank you for fixing that, because I'm guessing you're the one who did that :P/>