Giter VIP home page Giter VIP logo

capasorter's Introduction

CAPA-SORTER

Pure Python script for Sorting and Arranging Files in a Directory

This Python program is designed to sort and arrange files in a directory based on their file extension. The program loops through each file in the directory, checks its file extension, and moves it to the corresponding directory based on a pre-defined dictionary that maps file extensions to their corresponding directories.

Getting Started

To use this program, you will need to have Python installed on your computer. You can download Python from the official website at https://www.python.org/downloads/.

Once you have Python installed, download the sort_files.py file from this repository and save it in the directory where you want to sort and arrange your files.

Usage

To use the program, open a terminal window and navigate to the directory where the sort_files.py file is located. Then, run the following command:

Copy code

python sort_files.py

The program will then loop through each file in the directory, check its file extension, and move it to the corresponding directory based on the pre-defined dictionary. The program will print a message to confirm that the files have been sorted and arranged successfully.

Note : You can modify the file_extensions dictionary in the program to add or remove file extensions and corresponding directories as needed.

License

This program is licensed under the MIT License. See the LICENSE file for more information.

Acknowledgements

This program was created by CapacityBay . Special thanks to the CapacityBay Tech team for their work on the encouraging and facilatating open source software like this.

Maintainers

  • Add your name and email address as a maintainer.

capasorter's People

Contributors

brianobot avatar capacitybay avatar callistus406 avatar emmzy-tech avatar emmaogit avatar

Stargazers

 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.