This script numbers each patch inside of ./cwd/pataches/ starting from 000.
The patches are also numbered in alphabetical order.
Sorted patches are outputted into a new directory: .//sorted_patches/
Usage:
Make a new directory (cwd)
Place this script in this directory, as well as a folder containing the patches you want to sort (name it “patches”)
Open terminal
cd into cwd
run “python sortPatches.py”
The sorted patches will be in ./cwd/sorted_patches/
Have fun!
Author:
Daniel Gonzalez
danngonzalez95@gmail.com
I found this really useful when you want to have all of your downloaded patches saved to the top of whatever comes with the Zoia!
Thanks
Now to learn how to run a PY file!
A bit late, but for anyone wondering you will need to install Python and a few dependencies. The easiest way to do this is to download the latest python version then Anaconda, then follow the steps here. Or if someone wants to make this into an executable lol.
Oh and this won’t work on Windows without dealing with the ‘cp’ command