I am trying to make a program that can convert a series of manga scans into one pdf file, and I don\'t want to have to attempt to download the picture to determine if I have
First make sure there is no authorization issue.If any Authorization Required , you provide the username and password .Create a shell script file (checkURL.sh ) and paste the below code.
Hope this will help you.
checkURL.sh
yourURL="http://abc-repo.mycorp.com/data/yourdir"
if curl --output /dev/null --silent --head --fail "$yourURL"
then
echo "This URL Exist"
else
echo "This URL Not Exist"
fi
Its working for me in Nexus and other Repository.