Skip to main content

A cli tool to sort images into folders by date

Project description

sort-images

A cli tool to sort images into folders by date.

The default settings will take a directory like this:

.
├── DSC_0056.JPG
├── DSC_0070.JPG
├── DSC_0098.JPG
├── DSC_0170.JPG
└── DSC_0265.JPG

and with sort-images . . this becomes

.
├── 18
│   ├── Apr
│   │   └── DSC_0265.JPG
│   ├── Mar
│   │   └── DSC_0170.JPG
│   └── May
│       ├── DSC_0056.JPG
│       ├── DSC_0070.JPG
│       └── DSC_0098.JPG
├── DSC_0056.JPG
├── DSC_0070.JPG
├── DSC_0098.JPG
├── DSC_0170.JPG
└── DSC_0265.JPG
  1. sort-images does not delete any files (you have to do that yourself)
  2. It also does not overwrite anything, so if you ran this command again, sort-images would only spit out an error
  3. Also, running the command again would only find the files in the . directory, not in the 18 directory
  4. Another constant of this program is that every file will be copied. If it is not an image or if the date field is missing, it will be copied to the error directory
  5. The first . in the command specifies the source and the second . the destination
  6. Further syntax will be shown on sort-images -h

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sort_images-2025.10.11.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sort_images-2025.10.11-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file sort_images-2025.10.11.tar.gz.

File metadata

  • Download URL: sort_images-2025.10.11.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for sort_images-2025.10.11.tar.gz
Algorithm Hash digest
SHA256 423e401d0bb56c33deae6853239f11b6f3df6ccf0112eb0f95da9f4c21b7f0c3
MD5 f7969fb4f54c557e0e9b89f1a6c6684a
BLAKE2b-256 cf0c4317a8658d1e63546200a53574ef4d219bdd2f54f5ad1bcadd7460d4a1f8

See more details on using hashes here.

File details

Details for the file sort_images-2025.10.11-py3-none-any.whl.

File metadata

File hashes

Hashes for sort_images-2025.10.11-py3-none-any.whl
Algorithm Hash digest
SHA256 fe979507a842c279f372c32d5c17d9d7d83d0016af0b9209689fb5f805d31a2b
MD5 ffb50afecad045b142398dcecbf1dc8f
BLAKE2b-256 088c554d8bbdc51a46a8e2b681a08ea28ac69cad6fa4a7e54f6803bacab6d2f7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page