/php-duplicate-images

Sort duplicate images into separate folders

Primary LanguagePHP

SamJUK/php-duplicate-images

PHP cli script to sort duplicate images into separate folders

Source: https://github.com/SamJUK/php-duplicate-images

Download

wget https://github.com/SamJUK/php-duplicate-images/archive/master.zip -O temp.zip \
    && unzip temp.zip \
    && rm temp.zip;

Usage

CLI Usage

Manual

cd ~/some/path/to/php-duplicate-images \
    && php shell.php ~/absolute/path/to/image1 ~/image2 ~/image3 /image4;

Semi Automatic

Instead of manually filling in the paths you can drop multiple images onto the terminal to automatically fill the absolute paths for them.

cd ~/some/path/to/php-duplicate-images \
    && php shell.php