I want to check a URL list and if the file ( .pdf) exists, download it. I use this command and it\'s working;
for i in `cat url.txt`; do if wget -q --method=HEAD