#!/bin/bash

for files in 2023${1}*.ps
do
    IFS='.'
    read -a strarr <<< "$files"
    convert "${strarr[0]}.ps" "${strarr[0]}.jpg"

done
