On 09/01/2015 08:00 AM, ToddAndMargo wrote:
Hi All,
Is there any "curl --list-only" type command for http sites,
such as this turkey:
http://releases.mozilla.org/pub/thunderbird/releases/
I can only get curl to --list-only with ftp sites.
Many thanks,
-T
Not that I know of with curl, but you can do it with lftp:
lftp http://releases.mozilla.org/pub/thunderbird/releases/ -e 'ls ;
exit' | head
cd ok, cwd=/pub/thunderbird/releases
drwxr-xr-x -- ..
drwxr-xr-x - 2004-01-13 19:14 0.1
drwxr-xr-x - 2004-01-13 19:16 0.2