Skip to main content

Initial public release.

Project description

Copyright 2010 Anthony Campbell

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


Simple script to sort a directory of photos and videos. Designed to break down a directory into yearly creation date sub directories. Also rename files to provide a more consistent and readable listing.

Please look at the CHANGES file in each project to see what has changed since the last tag.


  • hachoir-core-1.3.3
  • hachoir-parser-1.3.4
  • hachoir-metadata-1.3.3

These packages are available from the ./dependencies directory. Simply unzip and run the “python install” command as root on all three libraries.


python install


phosort [directory] [option]


If you wish to contribute to the project you can find the latest source code on GitHub:

Version 1.0.4

Release notes 1.0.4 (27th August, 2010)

  • Egg descriptor file fix.
  • Upload to the cheese shop.

Release notes 1.0.3 (25th August, 2010)

  • Egg descriptor file introduction.

Release notes 1.0.2 (25th August, 2010)

  • Removal of exif package dependency
  • Introduction to the hachoir metadata library.
  • Provision of hachoir libraries.
  • Retrieve real creation date for videos and images from meta data.
  • Small bug fixes due to refactoring.

Release notes 1.0.1 (24th August, 2010)

  • Small improvements.
  • Introduction into copy only mode.

Release notes 1.0.0 (24th August, 2010)

  • Match correct files within current directory.
  • Initial sort implementation.
  • Introduction to simulate only mode.
  • Introduction to image only mode.
  • Introduction to replace spaces for file and directory.
  • Introduction to timestamp file mode.
  • Final release.

Release notes 0.0.1 (23rd August, 2010)

  • Initial release.

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
phosort-1.0.4.linux-i686.tar.gz (1.9 kB) Copy SHA256 hash SHA256 Dumb Binary any
phosort-1.0.4.tar.gz (2.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page