PhotoSort
, (*1)
What is it?
The PhotoSort application is a small tool to rename or copy images files by Exif information of image., (*2)
Exif is a standard that specifies the formats for images,
sound, and ancillary tags used by digital cameras (including smartphones), scanners and other systems handling image and
sound files recorded by digital cameras., (*3)
The application can do two things:, (*4)
- Rename all image files of one directory.
- Copy all image files of one directory to other new directory, if directory destiny not exist, this is created.
Also it has two possibles format name file, by date of Exif information (by default) or by numeric format., (*5)
How do I get started?
You can install PhotoSort in one of tree ways:, (*6)
As a Phar (Recommended)
You may download a ready-to-use version of PhotoSort as a Phar:, (*7)
$ sudo curl -LsS https://github.com/ginsen/photosort/blob/master/bin/photosort.phar?raw=true -o /usr/local/bin/photosort
$ sudo chmod a+x /usr/local/bin/photosort
The first command will check your PHP settings, warn you of any issues, and the download it to the /usr/local/bin
directory.
The second command change permissions to execute photosort
command., (*8)
As a Composer Install
Alternatively, you may use Composer to download and install PhotoSort as well as its dependencies., (*9)
$ mkdir path/to/photosort
$ cd photosort/
$ composer require ginsen/photosort
Once the application is downloaded, you have the command in the following path., (*10)
$ ./vendor/bin/photosort.phar
May you wish copy this command into the root path or other path? Then run the command., (*11)
$ cp vendor/bin/photosort.phar photosort
As a Git project
Use this official Git repository., (*12)
$ git clone https://github.com/ginsen/photosort.git
$ cd photosort
$ composer install
Check version app
Now you may want check version app, the last version is 1.1.1
, (*13)
if you downloaded the phar file (Recommended method) to use as system command, now you can check the version application:, (*14)
$ photosort --version
otherwise, if you installed with composer or git method, you have the command into your path used:, (*15)
$ ./photosort --version