Productivity Tools

Tools written by an IT business manager, a passionate developer.

Find Pictures

Module looks in the directory for jpg files and checks if some of them are pictures.

Module does it by validating if taken date exist for given file. It is used by me when I am operating on the photographs and between hundreds of photos some pictures were placed by mistake.

Parameters – CopyPicturesToDirectory – if any picture will be found it can be copied to chosen directory – DeletePictures – if you don’t have the pictures you could delete them from the directory. It is working very nice with CopyPicturesToDirectory

Installing

Install-Module ProductivityTools.FindPictures

Usage

Following command will find pictures in the D:\photo directory

Find-Pictures D:\photo\ -Verbose

Following command will find pictures and copy them to the d:\pictures directory

Find-Pictures D:\photo\ -CopyPicturesToDirectory d:\pictures -Verbose

Results shows files in the new directory.

Following command will find pictures copy them to the d:\pictures directory and it will remove pictures from the source of the directory

Find-Pictures D:\photo\ -CopyPicturesToDirectory d:\pictures -Verbose -DeletePictures

After the command in the files we will have:

Close Bitnami banner
Bitnami