Organizer is a python program that organizes your downloads folder

Overview

Organizer

Organizer is a python program that organizes your downloads folder, it can run as a service and so will start along with the system, and the best, you do not need to run it runs once you think your folder needs to be organized, it observes by new items in the Downloads folder and organizes them automatically for you!

Installation

Use the package manager pip to install dependencies.

pip install -r requirements.txt

Usage

This script searches for a file called types.json in your home directory, you need that file there with the following pattern:

[
  {
    "name": "image",
    "extensions": [
      ".png",
      ".jpg",
      ".jpeg",
      ".gif",
      ".jpgx",
      ".svg",
      ".webp"
    ]
  },
  {
    "name": "compressed",
    "extensions": [
      ".gz",
      ".gzip",
      ".zip",
      ".7z",
      ".tar.gz",
      ".tag",
      ".rar",
      ".xz"
    ]
  }, 
  {
    "name": "video",
    "extensions": [
      ".mp4",
      ".mkv"
    ]
  },
  {
    "name": "packages",
    "extensions": [
      ".deb",
      ".AppImage"
    ]
  },
  { 
    "name": "data",
    "extensions": [
      ".csv",
      ".json",
      ".sql"
    ]
  },
  {
    "name": "executable",
    "extensions": [
      ".py",
      ".bin",
      ".exe",
      ".sh",
      ".bash"
    ]
  },
  { 
    "name": "fonts",
    "extensions": [
      ".ttf",
      ".otf"
    ]
  },

  {
    "name": "dev",
    "extensions": [
      ".css", 
      ".js",
      ".tsx",
      ".ts",
      ".mjs"
    ]
  },
  {
    "name": "document",
    "extensions": [
      ".pdf",
      ".rtf", 
      ".txt",
      ".doc",
      ".docx",
      ".ods"
    ]
  }
]

Each name will be converted to a folder, and the array of extensions are the types of files that must be sent to that folder.

You can change these names and extensions in any way you think is best, you should only keep the same file name and it needs to be in your home folder.

To run the script

python3 . #in the clone folder

nohup python3 . & # Running in background

You can run this script as a service without any problems!

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Owner
Gustavo
Web development Intern at Qexpert
Gustavo
This python project contains a class FileProcessor which allows one to grab a file and get some meta data and header information from it

This python project contains a class FileProcessor which allows one to grab a file and get some meta data and header information from it. In the current state, it outputs a PrettyTable to txt file as

Joshua Wren 1 Nov 09, 2021
Python package to read and display segregated file names present in a directory based on type of the file

tpyfilestructure Python package to read and display segregated file names present in a directory based on type of the file. Installation You can insta

Tharun Kumar T 2 Nov 28, 2021
A python wrapper for libmagic

python-magic python-magic is a Python interface to the libmagic file type identification library. libmagic identifies file types by checking their hea

Adam Hupp 2.3k Dec 29, 2022
Fast Python reader and editor for ASAM MDF / MF4 (Measurement Data Format) files

asammdf is a fast parser and editor for ASAM (Association for Standardization of Automation and Measuring Systems) MDF (Measurement Data Format) files

Daniel Hrisca 440 Dec 31, 2022
Here is some Python code that allows you to read in SVG files and approximate their paths using a Fourier series.

Here is some Python code that allows you to read in SVG files and approximate their paths using a Fourier series. The Fourier series can be animated and visualized, the function can be output as a tw

Alexander 12 Jan 01, 2023
OnedataFS is a PyFilesystem interface to Onedata virtual file system

OnedataFS OnedataFS is a PyFilesystem interface to Onedata virtual file system. As a PyFilesystem concrete class, OnedataFS allows you to work with On

onedata 0 Jan 10, 2022
PyDeleter - delete a specifically formatted file in a directory or delete all other files

PyDeleter If you want to delete a specifically formatted file in a directory or delete all other files, PyDeleter does it for you. How to use? 1- Down

Amirabbas Motamedi 1 Jan 30, 2022
This simple python script pcopy reads a list of file names and copies them to a separate folder

pCopy This simple python script pcopy reads a list of file names and copies them to a separate folder. Pre-requisites Python 3 (ver. 3.6) How to use

Madhuranga Rathnayake 0 Sep 03, 2021
🧹 Create symlinks for .m2ts files and classify them into directories in yyyy-mm format.

🧹 Create symlinks for .m2ts files and classify them into directories in yyyy-mm format.

Nep 2 Feb 07, 2022
A Certificate renaming tool made for IEEE CS SBC, SJCE.

PDF Batch Renamer Made for IEEE CS SBC, SJCE How to use? Before using the python script, ensure that pytesseract, pdf2image, opencv and other supporti

Ashwin Kumar U 2 Nov 14, 2021
Python function to construct a ZIP archive with on the fly - without having to store the entire ZIP in memory or disk

Python function to construct a ZIP archive with on the fly - without having to store the entire ZIP in memory or disk

Department for International Trade 34 Jan 05, 2023
A Python library that provides basic functions to read / write Aseprite format files

A Python library that provides basic functions to read / write Aseprite format files

Joe Trewin 1 Jan 13, 2022
Test app for importing contact information in CSV files.

Contact Import TestApp Test app for importing contact information in CSV files. Explore the docs » · Report Bug · Request Feature Table of Contents Ab

1 Feb 06, 2022
RMfuse provides access to your reMarkable Cloud files in the form of a FUSE filesystem

RMfuse provides access to your reMarkable Cloud files in the form of a FUSE filesystem. These files are exposed either in their original format, or as PDF files that contain your annotations. This le

Robert Schroll 82 Nov 24, 2022
Python code snippets for extracting PDB codes from .fasta files

Python_snippets_for_bioinformatics Python code snippets for extracting PDB codes from .fasta files If you have a single .fasta file for all protein se

Sofi-Mukhtar 3 Feb 09, 2022
Remove [x]_ from StudIP zip Archives and archive_filelist.csv completely

This tool removes the "[x]_" at the beginning of StudIP zip Archives. It also deletes the "archive_filelist.csv" file

Kelke vl 1 Jan 19, 2022
dotsend is a web application which helps you to upload your large files and share file via link

dotsend is a web application which helps you to upload your large files and share file via link

Devocoe 0 Dec 03, 2022
A platform independent file lock for Python

py-filelock This package contains a single module, which implements a platform independent file lock in Python, which provides a simple way of inter-p

Benedikt Schmitt 497 Jan 05, 2023
Various technical documentation, in electronically parseable format

a-pile-of-documentation Various technical documentation, in electronically parseable format. You will need Python 3 to run the scripts and programs in

Jonathan Campbell 2 Nov 20, 2022
A python script to pull the transactions of an Algorand wallet and put them into a CSV file.

AlgoCSV A python script to pull the transactions of an Algorand wallet and put them into a CSV file. Dependancies: Requests Main features: Groups: Com

21 Jun 25, 2022