{"id":21178495,"url":"https://github.com/cyrof/raw-cleaner","last_synced_at":"2025-03-14T18:43:03.396Z","repository":{"id":246013829,"uuid":"819830045","full_name":"Cyrof/Raw-Cleaner","owner":"Cyrof","description":"A Python-based file management tool for efficiently organising and transferring files by extension into strcutured directories.","archived":false,"fork":false,"pushed_at":"2024-12-24T13:53:46.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T11:45:09.150Z","etag":null,"topics":["automation","command-line-tool","file-management","file-organizer","logging","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cyrof.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-25T09:26:02.000Z","updated_at":"2024-12-24T13:57:35.000Z","dependencies_parsed_at":"2024-06-25T11:20:36.756Z","dependency_job_id":"7a28228e-0938-4629-bceb-4ec2b13d2565","html_url":"https://github.com/Cyrof/Raw-Cleaner","commit_stats":null,"previous_names":["cyrof/raw-cleaner"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyrof%2FRaw-Cleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyrof%2FRaw-Cleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyrof%2FRaw-Cleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyrof%2FRaw-Cleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cyrof","download_url":"https://codeload.github.com/Cyrof/Raw-Cleaner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243629220,"owners_count":20322015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","command-line-tool","file-management","file-organizer","logging","python"],"created_at":"2024-11-20T17:21:46.192Z","updated_at":"2025-03-14T18:43:03.370Z","avatar_url":"https://github.com/Cyrof.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raw Cleaner \nRaw Cleaner is a Python-based tool designed to organise and transfer files from a specified directory to a new destination folder. It allows users to specify file extensions for selective file management. The tool is modular and user-friendly, supporting optional configurations.\n\n## Folder Structure \n```bash \n.\n├── main.py\n├── README.md\n├── requirements.txt\n└── scripts\n    ├── config.py\n    ├── __init__.py\n    ├── RawClean.py\n    └── utils.py\n```\n\n## Prerequisites \n- Python 3.10+ installed on your system \n\n## Installation \n1. **Clone the Repository**: \n    ```bash \n        git clone https://github.com/Cyrof/Raw-Cleaner.git\n        cd Raw-Cleaner \n    ```\n\n2. **Create a Virtual Environment**: \n    ``` bash\n        python -m venv \u003cname_of_venv\u003e\n    ```\n\n3. **Activate the Virtual Environment**: \n    - **Windows**: \n        ```bash\n            .\\\u003cname_of_venv\u003e\\Scripts\\activate\n        ```\n    - **Linux/Mac**:\n        ```bash \n            source \u003cname_of_venv\u003e/bin/activate\n        ```\n\n4. **Install Dependencies**:\n    ```bash \n        pip install -r requirements.txt\n    ```\n\n## Usage \nRun the application with the following command: \n```bash \npython main.py \u003cpath_to_folder\u003e --extensions \u003cext1 ext2\u003e \n```\n### Arguments: \n- `\u003cpath_to_folder\u003e`: Path to the directory containing the target files. \n- `--extentions` _(Optional)_: Space-separated file extensions to process (e.g., `jpg png`). If not provided, only `.jpg` files are processed.\n\n### Examples:\n- Process only `.jpg` files _(default behavior)_: \n    ```bash \n        python main.py \"/path/to/photos\"\n    ```\n- Process `.jpg` and `.png` files: \n    ```bash \n        python main.py \"/path/to/photos\" --extensions jpg png\n    ```\n\n## Output \nProcessd files are transferred to a new folder named: \n```bash \n    \u003coriginal_folder_name\u003e-raw-clean\n```\nThis folder will be located in the same parent directory as the source folder. \n\n## Features \n- **Default Extension Handling**: Processes `.jpg` files by default. \n- **Custom Extensions**: Supports multiple file extensions via the `--extensions` flag. \n- **Parallel Processing**: Faster file transfers using multi-threading. \n- **Logging**: Detailed logs are saved to `rawclear.log` for debugging and auditing. \n- **Progress Bar**: Real-time progress updates with `tqdm`. \n\n## License \nThis project is licensed under the [Apache 2.0](https://github.com/Cyrof/Raw-Cleaner/blob/main/LICENSE)\n\n## Contributing\n1. Fork the repository. \n2. Create a feature branch: `git checkout -b feature-branch`\n3. Commit your changes: `git commit -m \"Add new feature\"`\n4. Push to the branch: `git push origin feature-branch` \n5. Open a pull request.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyrof%2Fraw-cleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyrof%2Fraw-cleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyrof%2Fraw-cleaner/lists"}