Skip to content

This script organizes files from a source directory into a destination directory based on their file type and modification date.

Notifications You must be signed in to change notification settings

real0x0a1/PythonFileOrganizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

File Organizer

This is a simple Python script that allows you to organize files in a source directory based on their file extension and creation date. The organized files will be moved to a specified destination directory.

Installation

  1. Clone this repository:

    git clone https://github.com/real0x0a1/PythonFileOrganizer.git
  2. Change into the project directory:

    cd PythonFileOrganizer

Usage

  1. Run the script:

    python3 PythonFileOrganizer.py
  2. Enter the source directory path when prompted.

  3. Enter the destination directory path when prompted.

  4. The script will iterate through the files in the source directory, create directories based on file extension and creation date in the destination directory, and move the files accordingly.

  5. Once the process is completed, a message will be displayed.

Example

Source directory: /path/to/source_dir

Destination directory: /path/to/destination_dir

Enter the source directory path: /path/to/source_dir
Enter the destination directory path: /path/to/destination_dir
File organization completed.

The files in the source directory will be organized and moved to the destination directory based on their file extension and creation date.

Contributing

Contributions are welcome! If you have any improvements or suggestions, feel free to open an issue or create a pull request.

Author

  • Ali (Real0x0a1)

About

This script organizes files from a source directory into a destination directory based on their file type and modification date.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages