I am able to achieve like:
find . -cmin -60 -name "*.jpg" -exec convert -resize 300x200 -quality 85% -verbose
{} {} \; &>>processed.txt
so in the file say there is only one file matching it, the processed file contents is like
./a.jpg JPEG 1920x636 1920x636+0+0 8-bit DirectClass 612KB 0.040u 0:00.050
./a.jpg JPEG 1920x636=>300x99 300x99+0+0 8-bit DirectClass 8.19KB 0.130u 0:00.030
is there a way so that I can have just the file name processed for example only a.jpg
and then exclude a.jpg
in subsequent running the command.
if the same can be achieved using Imagick
php class