Welcome to my File Organization repo. This bash script helps with organizing directories based on their extension
Tutorial:
- Clone this git repository to get the script
- Change the file permissions of organizeFiles.sh ($ chmod +x organizeFiles.sh)
- Run the script ($ ./organizeFiles.sh)
- Give your directory path as input when asked
- For example, you can use the given assets folder for testing
- Before running the script, just check the assets folder to see the files in them
- Sample portion of running the script: $ ./organizeFiles.sh Hello there. This bash script helps organizing files based on their extensions. It will create folders for each file extension
Please give the path to the directory where you wish to organize files: ./assets
- You should see the files in the assets directory organized into directories based on their extension
- Now you can run the script again on your desired directory to help with your file organization
- Thank you for checking out this repository