/file_organizer

File Organizer is a Python script designed to assist individuals in organizing their files within directories according to their file extensions and other crateria

Primary LanguagePython

File Orginizer

description

The File Organizer is a Python script designed to assist individuals in organizing their files within directories according to their file extensions.

How it works

  • it grabs all files from nested direcotries
  • deletes all nested directories
  • creates new directories based on file extensions. If a file does not have an extension, it checks whether the file is executable. If it is executable, the file is placed inside the "executable" folder. If it is not executable, the file is placed inside the "files" folder.

Example

Screenshot from 2023-05-29 14-45-58 Screenshot from 2023-05-29 14-48-07

Usage:

./main.py directory OR python3 main.py directory

directory: path to the direcotry to apply the script to