Lately I’ve been using chatGPT to create a bunch of small custom python programs to do stuff like this (if I can’t easily find an existing program to do what I want).
For example I would tell it something like:
<span style="color:#323232;">Create a python program that does the following:
</span><span style="color:#323232;">
</span><span style="color:#323232;">-asks the user for a directory to process
</span><span style="color:#323232;">
</span><span style="color:#323232;">-sorts the files in that folder according to file type, placing them into appropriately named sub-folders, eg all image files into a folder named "images", all music files into "music" and so on.
</span><span style="color:#323232;">
</span><span style="color:#323232;">-creates any new sub folders before moving the files
</span><span style="color:#323232;">
</span><span style="color:#323232;">-moves the files verbosely
</span><span style="color:#323232;">
</span><span style="color:#323232;">-gives the user a notification upon finishing
</span>
You can customize it to do exactly what you want, and it takes only seconds for it to give you the code.
I can’t even begin to tell you how much time it’s saved me over the last few weeks, automating simple stuff that would normally take ages.