Or alternatively, with a slight setup process, you can run "FileSort" in any powershell terminal and it'll sort the CWD.
Setup for FileSort PWSH Function
Open Powershell, type the command notepad $PROFILE
Add a function to the profile:
function fileSort {
$cwd = Get-Location
python "Path/To/PyFile" $cwd # Change Path/To/PyFile with location where the python file is saved.
}
After the setup, you can open powershell in any folder and run the command "FileSort" with which, it's going to sort all the files in the working directory
Requirements
Python3: As this project was built entirely with Python, Python3 is required with the latest version being recommended.
The libraries used which need to be installed are tkinter and customtkinter, as these were used to make the user interface for the program.
File Sorter
How It Works
fileExtensions.py
consists a map with each file type to a certain folder name.Command Line Functionality
Setup for FileSort PWSH Function
notepad $PROFILE
Requirements
tkinter
andcustomtkinter
, as these were used to make the user interface for the program.