Skip to content

A file sorter written in python, sorts files by creation/modification date in a destination path

License

Notifications You must be signed in to change notification settings

Ali-Nategh/python_file_sorter

Repository files navigation

python_file_sorter

A project created to sort my cluttered folders :)

Created this two or three months ago, sorry for the bad documentation lol

This is a File sorter that sorts image and video files by extentions.

You can use it in a command line like this:
sorter.py SourcePath DestinationPath

If the file matches the written extentions, then it looks up the file creation and modification dates, creates a folder with the files creation or modification year (picks the one that is lower than the other), and it will copy the file to that path using read and write (not using any libraries like shutil or ... was intentional and intended as a challenge)

You can change this a bit and use it for your own sorting purposes if you want lol.
Have fun!

About

A file sorter written in python, sorts files by creation/modification date in a destination path

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages