Free fonts Download script (3218 fonts)

Fonts

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5 .0
Description:

Very simple script to download all the free fonts from http://www.highfonts.com

There should currently be 3218 Free Fonts...
Last changelog:

16 years ago

It is now possible to follow the progress of the downloads.

Graziano

16 years ago

and modify wget command adding -c option:
wget -cq http://www.highfonts.com/download.asp?fontID=$COUNTER

Report

Graziano

16 years ago

For slow modems I suggest to modify the script, to resume download, as follows:

------------------------------------------------------
# Description:
# Very simple script to download all free fonts from http://www.highfonts.com
# Will work if they don't change their site.
#
# Use:
#
# The script will download the fonts in the directory where it is executed.
#
#!/bin/bash

TOTAL=3218
COUNTER=$TOTAL

INSTALLED=`less ./count`

if [ "$INSTALLED" == "" ] ; then
INSTALLED=$TOTAL
fi

until [ "$COUNTER" == "$INSTALLED" ] ; do
let COUNTER-=1
done
until [ $COUNTER -lt 1 ]; do
clear
echo "Starting the download of free fonts from highfonts.com"
echo "$TOTAL fonts will be downloaded..."
echo "Please wait... (This might take a while...)"
echo
echo "Progress"
echo "-------------------------------------------"
echo "Waiting to download : $COUNTER fonts"
echo "-------------------------------------------"
wget -q http://www.highfonts.com/download.asp?fontID=$COUNTER
rm -rf ./count
echo $COUNTER >> ./count
let COUNTER-=1
done

echo "Done."
------------------------------------------------------

Report

Graziano

16 years ago

For slow modems I suggest to modify the script, to resume download, as follows:


until [ $COUNTER -lt 1 ]; do
clear
echo "Starting the download of free fonts from highfonts.com"
echo "$TOTAL fonts will be downloaded..."
echo "Please wait... (This might take a while...)"
echo
echo "Progress"
echo "-------------------------------------------"
echo "Waiting to download : $COUNTER fonts"
echo "-------------------------------------------"
wget -q http://www.highfonts.com/download.asp?fontID=$COUNTER
rm -rf ./count
echo $COUNTER >> ./count
let COUNTER-=1
done

echo "Done."

Report

Fingel

16 years ago

Does it install them as well? Because I know different types of fonts go in different folders, so it would be a pain to move all them, or I could be wrong.

Report

C

schultz-dk

16 years ago

Nope... It just downloads the fonts as zipped files.

Try to extract the font(s) you want in /home/.fonts/

Report

16 years ago

It is now possible to follow the progress of the downloads.

12345678910
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
updated Aug 04 2004
added Aug 04 2004
downloads 24h
1
mediaviews 24h 0
pageviews 24h 4
System Tags linux unix