This is a file sorter written in python3. It sorts all the files in a given directory according to rules listed by the user. It sorts files into folders according to a tag written into file names. For example, if ROB
has been defined as the tag for the Robotics
folder, files with names containing ROB_
such as ROB_pushbot.java
will be sorted into the Robotics
folder. It also has the ability to ignore files according to certain strings in filenames or file-paths according to a specific and a global Ignored.config file when sorting files in folders.
It has been tested on MacOS Mojave and should be compatible with all MacOS. It has not been tested on other Operating Systems but I presume it may work because of the design of the Python3 OS package. Please open an issue on GitHub to let me know if it works or doesn't work on any specific OS.
Follow this link to the releases page and select the application version of the macOS .pkg files. Once downloaded, double click the pkg file to open and a guided install should begin. Upon opening the installed app, a terminal window should apppear with the interface.
Follow this link to the releases page and select the CLI version of the macOS .pkg files. Once downloaded, double click the pkg file to open and a guided install should begin. Once installation is complete, open Terminal (Tip: Spotlight search Terminal to launch it) and type FileSorter
and hit enter. The main menu should appear.
Follow this link to the releases page and download the .exe file. Save it to a location you prefer and open it by double clicking. A command prompt should appear with the main window.
Follow this link to the releases page and download the Ubuntu binary file. Save it to a loaction you prefer with the name FileSorter. Opening it via a terminal session or running it should show the main menu.
Git: Download git here
Python3: To install python3 on MacOS using Homebrew, run brew install python3
(To get Homebrew, paste /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
into terminal and hit enter. The program will guide you through the steps)
-
git clone https://github.com/LivelyCarpet87/FileSorter
-
cd FileSorter
-
pip3 install -r requirements.txt
Here this guide really diverges:
- Guide for absolute beginners
- Guide for beginners (User can: copy, paste, and modify terminal commands when guided)
- Guide for budding programmers (User can: understand working directories and use basic terminal commands)
- Guide for programmers (User can: work with configuration files, command line arguments, and advanced commands)
- User can't find the installed app: Please verify that you have installed the application version and not the CLI version. The CLI version has "CLI" in its name. If this does not solve your issue, please open an new issue here.
- Command not found:
Please make sure you installed the CLI version and not the application version. Also, please make sure your
$PATH
vairable contains/usr/local/bin
. If this does not solve your issue, please open an new issue here.
If some function does not work as expected, or if you have any questions, feel free to open an issue. When reporting on a potential bug, please increase verbosity with -vv
flag to enter debug level of STDOUT logging.
-
Add an interactive config setup script
-
Add more utility scripts
-
Add a script to automatically rename files
-
Wrap into an application for automation.
-
Add logging
-
Add verbosity control
-
Compile into a suite of terminal commands for better automation
-
Improve the automation capabilites of the apps
-
Optimize code