Tidier
Tidier is a simple command line tool that helps you make your files tidy up. Examples will show you the power.
Demo
Examples
After installing Tidier, using it is as easy as your moms cleans your room for you.
Move all files inside pictures
folder to organized
folder organized by date:
$ tidier tidy "Pictures" -o "Organized"
Log output e.g. [-] Moving Pictures/IMG_123.jpg to Organized/2018/April/01/IMG_123.jpg
Copy all files and organize by their year & type:
$ tidier tidy "Pictures" -o "Organized" -r "%Y/{type}/{name}" --copy
Log e.g. [-] Copying Pictures/IMG_123.jpg to Organized/2018/image/IMG_123.jpg
Move all of your favorite show episodes to organized Season seperated folder:
$ tidier tvshow "Breaking Bad"
Log e.g. [-] Moving Breaking Bad/breaking.bad.S04E03.x265.WEB-DL.mkv to Breaking Bad/Season 4 | x265 WEB-DL/Episode 3.mkv
Also, you can use Jalali calendar date:
$ tidier tidy "Scripts" -r "%y/%B/{name}" --jalali
Log e.g. [-] Moving Scripts/Crawler.py to Scripts/99/Ordibehesht/Crawler.py
You can set locale or organize files by their extension:
$ tidier tidy "Valentine" -r "%Y %B/{ext}/{name}" --locale fr_FR
Log e.g. [-] Moving Valentine/Paris.jpg to Valentine/2021 déc/Paris.jpg
For all other options, see the output of tidier --help
.
Installing
To install the latest release from PyPI:
$ pip install tidier
To install the latest development version from GitHub:
$ pip install git+git://github.com/itsamirhn/tidier.git
License
Tidier is MIT licensed.