Code Monkey home page Code Monkey logo

organize-my-files's Introduction

Organize-My-Files 📁🧹🐍

This script is designed to organize files in a specified directory based on their file extensions. It sorts files into subdirectories according to their extensions, making it easier to manage and locate files by type.

💡Intuition

When you run the script, it prompts you to enter a path to the directory containing the files you want to organize. The script then processes each file in the directory, creating subdirectories for each unique file extension and moving the files into their respective subdirectories.

For instance, if you have a directory with files like file1.txt, file2.jpg, and file3.docx, the script will create subdirectories named txt, jpg, and docx, respectively, and move the files into their respective subdirectories.

⚒️Usage

  1. Run the script.
  2. Enter the path of the directory you want to organize when prompted.
  3. The script will create subdirectories for each unique file extension and move the files accordingly.

Note: This script is a basic organizer and might not cover all use cases. Use it with caution and consider backing up your files before running the script.

🔳Outputs

Before Running the Script:

image

After Running the Script:

image

image

organize-my-files's People

Contributors

saadarazzaq avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.