This is a simple script for automatically organize files inside folders using the last modified date as reference. The organization format is YYYY-mm-dd.
git clone https://github.com/amauricoder/files_organizer_sh
As this is a very simple script, you can use 777 as permission. But do what you think its best for you
chmod 777 organize.sh
Use the cp with the apropriate paths
cp ~/files_organizer_sh/organize.sh /path/to/your/files
With the terminal open in the folder containing the files and the script, simply execute the script.
./organize.sh
This will create folders with the last modification date as title (format Y-m-d) and automatically put your files inside of it. Note that this will also create a folder for the organize.sh script and move the script to it. Then you can just delete it.
This script has been incredibly valuable to me. It saved me a considerable amount of time of time for organizing personal files, like photographs. I hope this can be useful for someone! Feel free to use and share it with anyone who might find it helpful. Thank you!