Automatically sort audio, image, video, document, and other files.
About
This command line utility will automatically sort files from a specified folder by putting each file into a particular category (e.g. "png"/"jpeg" files will be put in "Images", "avi"/"mp4" in "Videos", etc.).
Why is this utility useful?
I made this utility when I wanted to backup photos and videos from my iPhone to my Windows PC. The issue here is that it's not a straightforward process: browsing the iPhone's directory directly (i.e. connecting it to the PC through USB-C) will show lots of folders that are named weirdly. Pulling data from those folders manually is time consuming. With this utility, all you need to do is specify the folder you want to sort, then get the sorted output.

NOTE: Since the program is in beta, this works best only if you have the iPhone's folder already on your PC. Soon, I will update the program so you can simply specify the sorting type (e.g. "-iphone") and maybe it will be useful for some other cases, e.g. when you want to sort documents or other files.
Download
Latest version:
refolder version 0.4b (13-aug-2025) (changelog)
Older versions:
refolder version 0.2b (02-jul-2025) (changelog)
How to Use
In a Windows Command Line:
refolder [path_to_folder]