A tool for organizing files
Project description
Tidier
Tidier is a simple command line tool that helps you make your files tidy up. Examples will show you the power.
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 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 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 'Breaking Bad' -m '.*s0*(\d)e0*(\d).*' -r "Season \1/Episode \2.{ext}"
Log e.g. [-] Moving Breaking Bad/breaking.bad.s04e03.web-dl.mkv to Breaking Bad/Season 4/Episode 3.mkv
Also, you can use Jalali calendar date:
$ tidier codes -o organized -r "%y/%B/{name}" --jalali
Log e.g. [-] Moving codes/autolms.py to organized/99/Ordibehesht/autolms.py
You can set locale or organize files by their extension:
$ tidier 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.