hard
File Organization Script
Write a Bash script to sort files by extension.
📝 Contenu du Prompt
Write a Bash script that scans a specific directory for files and organizes them into subfolders based on their file extensions (e.g., .jpg files go into a 'Images' folder, .txt files go into 'Documents'). Ensure the script creates the directories if they do not exist.