# PhotoSort Bash script for sorting [PhotoRec](https://github.com/cgsecurity/testdisk) recovered data, but can be used for sorting any data by extension. [PhotoRec](https://github.com/cgsecurity/testdisk) sorts data in many directories, with no organization by filetype. This script creates a new directory with subdirectories for every filetype recovered by [PhotoRec](https://github.com/cgsecurity/testdisk), then moves files into their corresponding place. `git clone https://git.laurelcountycorrections.org/jpickard/photosort.git` and `sudo sh photosort/photosort.sh`. Input Source Directory and Destination.