Patch list alphabetical sorter

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!

3 comments on “Patch list alphabetical sorter
  • Anome_One on said:

    Thanks

    Now to learn how to run a PY file!

  • Cheryl on said:

    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.

  • Cheryl on said:

    Oh and this won’t work on Windows without dealing with the ‘cp’ command

  • Leave a Reply

    • Platform:
    • Category: Utility
    • Revision: 1.0
    • License: Do What The F*ck You Want To Public License
    • Modified: 4 years ago
    • Views: 528
      Likes: 3
      Downloads: 2036
    Download
    Chat