Coder Social home page Coder Social logo

sort-it's Introduction

Sort It

This program sorts every file and folder inside of a directory with one command!

How are your folders sorted?

Your files are sorted into 10 different folders:

  • _FOLDERS: Folder Type files.
  • Apps: Application Type files (Installers, executables, etc.).
  • Audio: Audio files.
  • Video: Video files.
  • Images: Image files.
  • PDF: PDF files.
  • Text & Code: Text and Code files.
  • Work: MS office type files.
  • Audio: Zipped folder (zip, rar, tar).
  • Other: Any file that couldn't be identified as any of the above categories.

Please note that any of the above folders will only be created if your directory contains at least one file of their respective type. For instance, if there are no audio files in the directory you are sorting, the 'Audio' folder will not be created.

Demo

If a file that is to be moved has a duplicate in its target folder, the date and time will be appended to the duplicate so that nothing is overwritten. This doesn't work with duplicate folder names, where the original folder has files inside of it. In this case, the folder simply won't be moved. You DON'T have to worry about anything being overwritten.

Installation (Windows)

  1. Clone this repository somewhere that you will not be sorting (I recommend putting it somewhere in your root directory).
  2. Add the path to 'sortme.exe' and 'unsortme.exe' to your environment variables.
    • The path to 'sortme.exe' and 'unsortme.exe is '[PATH-TO-REPO]/Sort-It/'
    • Do not include the actual .exe in that path, only the path up to and including the repository.
    • This is what mine looks like in my Environment Variables > System Variables > Path:

drawing

  1. Type 'cmd' in the address bar of the directory you'd like to sort (or just cd into it through powershell), and type 'sortme' or 'unsortme' to sort/unsort your directories!

Demo

Installation (Linux & MacOS)

  1. As of right now Linux & MacOS users must have 'wine' installed as these programs are Windows .exe files, and wine allows Unix systems to run exe files in their environemnt.
    • You can find instructions for installing wine here.
  2. Once wine is installed, simply clone the repository somewhere that you do not plan to sort (I recommend your home directory, which makes the command simpler).
  3. Make sure that you give sortme.exe and unsortme.exe execution privileges if necessary.
  4. Then you can run wine [PATH-TO-REPO]/Sort-It/sortme.exe and wine [PATH-TO-REPO]/Sort-It/sortme.exe

Demo

Contact Me

Please feel free to contact me with any questions or concerns at: [email protected]

sort-it's People

Contributors

beo1259 avatar

Stargazers

 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.