Archived
1
Fork 0
Group a directory of files by date
This repository has been archived on 2026-05-20. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Python 89.5%
  • Dockerfile 5.6%
  • Shell 4.9%
Find a file
2020-05-29 11:01:59 +01:00
.github/workflows Init Python build env 2019-12-24 16:22:46 +00:00
scripts Init Python build env 2019-12-24 16:22:46 +00:00
.gitignore Init Python build env 2019-12-24 16:22:46 +00:00
date-group.py Allow customizing the date format 2020-04-03 12:37:30 +01:00
dev-requirements.txt Bump flake8-bugbear from 19.8.0 to 20.1.4 2020-04-06 09:21:30 +00:00
Dockerfile Add a docker container for easy use 2020-01-02 15:43:00 +00:00
README.md Rename project 2020-05-29 11:01:59 +01:00
requirements.txt Bump coloredlogs from 10.0 to 14.0 2020-04-02 08:01:21 +00:00
setup.cfg Add setup.cfg file 2019-12-24 17:55:22 +00:00

Date Group

Group a directory of files.

Want a more performant version. Check out the Rust version.

Dates are determined through multiple sources:

  • EXIF metadata
  • Date in filename

Installation

Install the dependencies specified in requirements.txt.

Usage

Script takes just 1 argument, the path to group. All files in subdirectories will be moved. --dry-run can be moved to just print the files and groups rather than actually move them.

Files whose dates can't be parsed, are left in-place.