Skip to main content

A Python tool to organize files into category folders automatically.

Project description

FileAuto

FileAuto is a Python tool to help you organize your files automatically into category folders based on their file extensions.

Features

  • Automatically sorts files into folders like Images, Documents, Videos, Music, Archives, and Scripts.
  • Creates category folders if they do not exist.
  • Prevents overwriting files by skipping moves if the destination file already exists.
  • Copies the file path to your clipboard for quick access.
  • Colorful terminal output and ASCII art welcome message.

Supported Categories

Category Extensions
Images .jpg, .jpeg, .png, .gif
Documents .pdf, .doc, .docx, .txt
Videos .mp4, .mkv, .avi, .mov
Music .mp3, .wav
Archives .zip, .tar, .gz
Scripts .sh, .bat, .py
Others Any other file types

Usage

  1. Install dependencies:

    pip install pyfiglet colorama pyperclip
    
  2. Edit the file path in fileauto.py:

    fileauto = FileAuto("C:/Users/DELL/Downloads/yourfile.jpg")
    
  3. Run the script:

    python fileauto.py
    

How It Works

  • The script checks the file extension and moves the file into the corresponding category folder inside its current directory.
  • If the file already exists in the destination folder, it skips the move and prints a message.
  • The file path is copied to your clipboard for convenience.

About

See fileauto_about.txt for a brief description of the tool and its categories.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fileauto-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fileauto-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file fileauto-0.1.0.tar.gz.

File metadata

  • Download URL: fileauto-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for fileauto-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6edd7f72ded19c3893dbadde66c3bc9231e9de98f263ee9a333340f83f5775e4
MD5 5e69406f5396e88ee4a6ecca5fb73230
BLAKE2b-256 0cd0210cd31b6bdfac82f11f7d08817b95b725c8d17fa977ee7d4e30f26faea0

See more details on using hashes here.

File details

Details for the file fileauto-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fileauto-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for fileauto-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d0587453c9f650478bf300953fefdd0dc1a08c9b9edea3d94fe97c3856f24d92
MD5 6ece1fb493c2958a088a998701d4eeb5
BLAKE2b-256 250095d5dcdb88b4766de0985a4623c11a02347ca5a41ca209fae618a05a9ae0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page