Skip to content

BhargavSatya/Sort-It

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sort-It

A python script to sort the files in Downloads into respesctive types.

This srcipt searches the files in the target directory and sorts them according to the mapping present in the Config File. Its identifies the file type and create a symbolic link to the original file in destination Directory corresponding to the file type.

You may edit or add new file types and extentions in config.yaml

Features

  • Sorts files in a directory and create symbolic links to original file in a sorted folder.
  • Create a Handler which runs in background and behave as target directory is modified.

gif

Installation

# clone the repo
$ git clone https://github.com/BhargavSatya/Sort-It.git

# Change the working directory to Sort-It
$ cd Sort-It

# Install the requirements
$ pip3 install -r requirements.txt

Usage

python sortit.py ~/Downloads ~/Desktop/Downloads
usage: sortit.py [source_directory] [destination directory]

Contributions

  • ⭐️ this repository if this script helped you.
  • Contributions of any kind are welcome!

About

A python script to sort the files in Downloads into respesctive types.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages