Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sanjaysah101/auto-file-organization
Auto File Organization helps to organize files quickly by moving all the files to its respective folders accordingly to their extension.
https://github.com/sanjaysah101/auto-file-organization
Last synced: 19 days ago
JSON representation
Auto File Organization helps to organize files quickly by moving all the files to its respective folders accordingly to their extension.
- Host: GitHub
- URL: https://github.com/sanjaysah101/auto-file-organization
- Owner: sanjaysah101
- Created: 2021-11-21T10:06:51.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-21T10:24:26.000Z (almost 3 years ago)
- Last Synced: 2024-01-01T10:23:56.590Z (11 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 10
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Auto-File-Organization
Auto File Organization helps to organize files quickly by moving all the files to its respective folders accordingly to their extension.## Project Statement:
Once a faculty had to check assignments from the LMS. He downloaded 130+ assignments which were submitted in various formats. He explored the “Download Folder” and realized that it contained 100+ files of different formats. It was crucial to organizing the files of different formats such as txt, pdf, xls, doc, jpg, mp4, etc. Locating assignment files was like finding a needle in a haystack. Similar is the case with many other directories. In order to organize all such files based on the extension, categories, and by particular timespan (Weekly, Monthly, Yearly, etc) is very tedious as well as time-consuming.
## Background / History of the problem:
In this digital era, the majority of people are habituated to using default paths while downloading files. As a result, lots of files get gathered in a download directory, and that too in an unorganized manner.
To sort and organize these files is a tedious and time-consuming task, especially when you have 500+ files accumulated. Further, it becomes more hectic when one needs to organize it based on the categories and year/month/date of creation.
For instance, in the photos directory, we have 1000s of photos that are required to be arranged in different manners with a proper directory structure. This work can be automated with minimal time and save human energy.
## Solution:
My program is able to arrange all the files to its respective folders. Let suppose, we have 100+ files in Download folder. There are images, videos, audios, and other files located. My script will move all the files based on their extension to respective folder.
- All the .jpeg, .jpg, .png, .gif, etc are moved to Images>extension folder.
- Alll the .mp3, .wav, .3gp, etc are moved to Audios>extension folder.In the same way all other files like videos, spreadsheet, database files, executable files, text are moved.
### Modules Used:
- os
- shutilI have used all the basic python concept like Dictionary, List, Function, File Exception Handling.