Kirjoittaja Aihe: Apua skriptaukseen: ilmaisten fonttien lataaminen verkosta [ratkaistu]  (Luettu 5185 kertaa)

toppi

  • Käyttäjä
  • Viestejä: 4
    • Profiili
Olen pähkäillyt miten saisin näppärästi http://www.webpagepublicity.com/free-fonts.html -sivuilta ladattua fontit niin ettei minun tarvitsisi jokaista fonttia tallentaa erikseen.

Komennolla lynx -dump http://www.webpagepublicity.com/free-fonts.html#FreeFonts | grep .ttf pääte tuottaa listan

   [59]www.WebpagePublicity.com/free-fonts/a/A Cut Above The Rest.ttf
   [60]www.WebpagePublicity.com/free-fonts/a/A Damn Mess.ttf
   [61]www.WebpagePublicity.com/free-fonts/a/A to Z.ttf
   [62]www.WebpagePublicity.com/free-fonts/a/A Yummy Apology.ttf
   [63]www.WebpagePublicity.com/free-fonts/a/A.C.M.E. Explosive Bold.ttf
   [64]www.WebpagePublicity.com/free-fonts/a/A.C.M.E. Explosive.ttf
   Bold.ttf
   Italic.ttf
   [67]www.WebpagePublicity.com/free-fonts/a/A.C.M.E. Secret Agent.ttf
   [68]www.WebpagePublicity.com/free-fonts/a/A.D. MONO.ttf
   [69]www.WebpagePublicity.com/free-fonts/a/AajaxSurrealFreak.ttf
   [70]www.WebpagePublicity.com/free-fonts/a/Aapex.ttf
   [71]www.WebpagePublicity.com/free-fonts/a/Aardvark Cafe.ttf
   [72]www.WebpagePublicity.com/free-fonts/a/Abaddon.ttf
   [73]www.WebpagePublicity.com/free-fonts/a/Abagail Regular.ttf
   [74]www.WebpagePublicity.com/free-fonts/a/Abberancy.ttf
   [75]www.WebpagePublicity.com/free-fonts/a/Abbey Medium Extended.ttf
   [76]www.WebpagePublicity.com/free-fonts/a/Abbey-Medium.ttf
   [77]www.WebpagePublicity.com/free-fonts/a/ABCTech Bodoni Cactus.ttf
   [78]www.WebpagePublicity.com/free-fonts/a/ABCTech Bodoni Wave.ttf
   [79]www.WebpagePublicity.com/free-fonts/a/Abduction.ttf
   [80]www.WebpagePublicity.com/free-fonts/a/Abduction II.ttf
   [81]www.WebpagePublicity.com/free-fonts/a/Abduction III.ttf
   [82]www.WebpagePublicity.com/free-fonts/a/Abode.ttf
   [83]www.WebpagePublicity.com/free-fonts/a/Abscissa Bold Italic.ttf
   [84]www.WebpagePublicity.com/free-fonts/a/Abscissa Bold.ttf
   [85]www.WebpagePublicity.com/free-fonts/a/Abscissa Italic.ttf
   [86]www.WebpagePublicity.com/free-fonts/a/Abscissa.ttf
   [87]www.WebpagePublicity.com/free-fonts/a/Abstrakt.ttf
   [88]www.WebpagePublicity.com/free-fonts/a/Acadian(TM).ttf
   [89]www.WebpagePublicity.com/free-fonts/a/Accidental Presidency.ttf
   [90]www.WebpagePublicity.com/free-fonts/a/Ace Crikey.ttf
   [91]www.WebpagePublicity.com/free-fonts/a/Achilles.ttf
   [92]www.WebpagePublicity.com/free-fonts/a/Acid Bath.ttf
   [93]www.WebpagePublicity.com/free-fonts/a/Acid Reflux (BRK).ttf
   [94]www.WebpagePublicity.com/free-fonts/a/AcidDreamer.ttf
   [95]www.WebpagePublicity.com/free-fonts/a/Acidic.ttf
   [96]www.WebpagePublicity.com/free-fonts/a/Acklin Regular.ttf
   [97]www.WebpagePublicity.com/free-fonts/a/AcklinCondensed Regular.ttf
   [98]www.WebpagePublicity.com/free-fonts/a/Acknowledge TT BRK.ttf
   [99]www.WebpagePublicity.com/free-fonts/a/Acoustic Bass.ttf
   [100]www.WebpagePublicity.com/free-fonts/a/Acoustic Light.ttf
   [101]www.WebpagePublicity.com/free-fonts/a/Acquaintance.ttf
   [102]www.WebpagePublicity.com/free-fonts/a/Action Force Normal.ttf
   [103]www.WebpagePublicity.com/free-fonts/a/Action Is, Shaded JL.ttf
   [104]www.WebpagePublicity.com/free-fonts/a/Action Is_ The Sequel.ttf
   [105]www.WebpagePublicity.com/free-fonts/a/Action Man Bold Italic.ttf
   [106]www.WebpagePublicity.com/free-fonts/a/Action Man Bold.ttf
   Italic.ttf
   [108]www.WebpagePublicity.com/free-fonts/a/Action Man Extended Bold.ttf
   Italic.ttf
   [110]www.WebpagePublicity.com/free-fonts/a/Action Man Extended.ttf
   [111]www.WebpagePublicity.com/free-fonts/a/Action Man Italic.ttf
   [112]www.WebpagePublicity.com/free-fonts/a/Action Man Shaded Italic.ttf
   [113]www.WebpagePublicity.com/free-fonts/a/Action Man Shaded.ttf
   [114]www.WebpagePublicity.com/free-fonts/a/Action Man.ttf
   [115]www.WebpagePublicity.com/free-fonts/a/ActionIs.ttf
   [116]www.WebpagePublicity.com/free-fonts/a/Activa.ttf
   [117]www.WebpagePublicity.com/free-fonts/a/Addicted to Type.ttf
   [118]www.WebpagePublicity.com/free-fonts/a/AddJazz.ttf
   [119]www.WebpagePublicity.com/free-fonts/a/AdineKirnberg-S.ttf
   [120]www.WebpagePublicity.com/free-fonts/a/Adler.ttf
   [121]www.WebpagePublicity.com/free-fonts/a/Adresack(TM).ttf
   [122]www.WebpagePublicity.com/free-fonts/a/Adriator.ttf
   [123]www.WebpagePublicity.com/free-fonts/a/Adventure Normal.ttf
   Normal.ttf
   [125]www.WebpagePublicity.com/free-fonts/a/� Systematic TT BRK.ttf
   [126]www.WebpagePublicity.com/free-fonts/a/Aetherfox.ttf
   [127]www.WebpagePublicity.com/free-fonts/a/African.ttf
   [128]www.WebpagePublicity.com/free-fonts/a/Aftermath (BRK).ttf
   Italic.ttf
   Condensed.ttf
   Italic.ttf
   CondSolid.ttf
   [133]www.WebpagePublicity.com/free-fonts/a/Aftershock Debris Italic.ttf
   Italic.ttf
   [135]www.WebpagePublicity.com/free-fonts/a/Aftershock Debris Solid.ttf
   [136]www.WebpagePublicity.com/free-fonts/a/Aftershock Debris.ttf
   [137]www.WebpagePublicity.com/free-fonts/a/Agatha Regular.ttf
   [138]www.WebpagePublicity.com/free-fonts/a/Agent Orange.ttf
   [139]www.WebpagePublicity.com/free-fonts/a/�ggstock.ttf
   [140]www.WebpagePublicity.com/free-fonts/a/AIFragment.ttf
   [141]www.WebpagePublicity.com/free-fonts/a/Aileenation.ttf
   [142]www.WebpagePublicity.com/free-fonts/a/Aims in your Life normal.ttf
   [143]www.WebpagePublicity.com/free-fonts/a/Air Millhouse Italic.ttf
   [144]www.WebpagePublicity.com/free-fonts/a/Air.ttf
  59. http://www.webpagepublicity.com/free-fonts/a/A%20Cut%20Above%20The%20Rest.ttf
  60. http://www.webpagepublicity.com/free-fonts/a/A%20Damn%20Mess.ttf
  61. http://www.webpagepublicity.com/free-fonts/a/A%20to%20Z.ttf
  62. http://www.webpagepublicity.com/free-fonts/a/A%20Yummy%20Apology.ttf
  63. http://www.webpagepublicity.com/free-fonts/a/A.C.M.E.%20Explosive%20Bold.ttf
  64. http://www.webpagepublicity.com/free-fonts/a/A.C.M.E.%20Explosive.ttf
  65. http://www.webpagepublicity.com/free-fonts/a/A.C.M.E.%20Secret%20Agent%20Bold.ttf
  66. http://www.webpagepublicity.com/free-fonts/a/A.C.M.E.%20Secret%20Agent%20Italic.ttf
  67. http://www.webpagepublicity.com/free-fonts/a/A.C.M.E.%20Secret%20Agent.ttf
  68. http://www.webpagepublicity.com/free-fonts/a/A.D.%20MONO.ttf
  69. http://www.webpagepublicity.com/free-fonts/a/AajaxSurrealFreak.ttf
  70. http://www.webpagepublicity.com/free-fonts/a/Aapex.ttf
  71. http://www.webpagepublicity.com/free-fonts/a/Aardvark%20Cafe.ttf
  72. http://www.webpagepublicity.com/free-fonts/a/Abaddon.ttf
  73. http://www.webpagepublicity.com/free-fonts/a/Abagail%20Regular.ttf
  74. http://www.webpagepublicity.com/free-fonts/a/Abberancy.ttf
  75. http://www.webpagepublicity.com/free-fonts/a/Abbey%20Medium%20Extended.ttf
  76. http://www.webpagepublicity.com/free-fonts/a/Abbey-Medium.ttf
  77. http://www.webpagepublicity.com/free-fonts/a/ABCTech%20Bodoni%20Cactus.ttf
  78. http://www.webpagepublicity.com/free-fonts/a/ABCTech%20Bodoni%20Wave.ttf
  79. http://www.webpagepublicity.com/free-fonts/a/Abduction.ttf
  80. http://www.webpagepublicity.com/free-fonts/a/Abduction%20II.ttf
  81. http://www.webpagepublicity.com/free-fonts/a/Abduction%20III.ttf
  82. http://www.webpagepublicity.com/free-fonts/a/Abode.ttf
  83. http://www.webpagepublicity.com/free-fonts/a/Abscissa%20Bold%20Italic.ttf
  84. http://www.webpagepublicity.com/free-fonts/a/Abscissa%20Bold.ttf
  85. http://www.webpagepublicity.com/free-fonts/a/Abscissa%20Italic.ttf
  86. http://www.webpagepublicity.com/free-fonts/a/Abscissa.ttf
  87. http://www.webpagepublicity.com/free-fonts/a/Abstrakt.ttf
  88. http://www.webpagepublicity.com/free-fonts/a/Acadian%E2%84%A2.ttf
  89. http://www.webpagepublicity.com/free-fonts/a/Accidental%20Presidency.ttf
  90. http://www.webpagepublicity.com/free-fonts/a/Ace%20Crikey.ttf
  91. http://www.webpagepublicity.com/free-fonts/a/Achilles.ttf
  92. http://www.webpagepublicity.com/free-fonts/a/Acid%20Bath.ttf
  93. http://www.webpagepublicity.com/free-fonts/a/Acid%20Reflux%20(BRK).ttf
  94. http://www.webpagepublicity.com/free-fonts/a/AcidDreamer.ttf
  95. http://www.webpagepublicity.com/free-fonts/a/Acidic.ttf
  96. http://www.webpagepublicity.com/free-fonts/a/Acklin%20Regular.ttf
  97. http://www.webpagepublicity.com/free-fonts/a/AcklinCondensed%20Regular.ttf
  98. http://www.webpagepublicity.com/free-fonts/a/Acknowledge%20TT%20BRK.ttf
  99. http://www.webpagepublicity.com/free-fonts/a/Acoustic%20Bass.ttf
 100. http://www.webpagepublicity.com/free-fonts/a/Acoustic%20Light.ttf
 101. http://www.webpagepublicity.com/free-fonts/a/Acquaintance.ttf
 102. http://www.webpagepublicity.com/free-fonts/a/Action%20Force%20Normal.ttf
 103. http://www.webpagepublicity.com/free-fonts/a/Action%20Is,%20Shaded%20JL.ttf
 104. http://www.webpagepublicity.com/free-fonts/a/Action%20Is_%20The%20Sequel.ttf
 105. http://www.webpagepublicity.com/free-fonts/a/Action%20Man%20Bold%20Italic.ttf
 106. http://www.webpagepublicity.com/free-fonts/a/Action%20Man%20Bold.ttf
 107. http://www.webpagepublicity.com/free-fonts/a/Action%20Man%20Extended%20Bold%20Italic.ttf
 108. http://www.webpagepublicity.com/free-fonts/a/Action%20Man%20Extended%20Bold.ttf
 109. http://www.webpagepublicity.com/free-fonts/a/Action%20Man%20Extended%20Italic.ttf
 110. http://www.webpagepublicity.com/free-fonts/a/Action%20Man%20Extended.ttf
 111. http://www.webpagepublicity.com/free-fonts/a/Action%20Man%20Italic.ttf
 112. http://www.webpagepublicity.com/free-fonts/a/Action%20Man%20Shaded%20Italic.ttf
 113. http://www.webpagepublicity.com/free-fonts/a/Action%20Man%20Shaded.ttf
 114. http://www.webpagepublicity.com/free-fonts/a/Action%20Man.ttf
 115. http://www.webpagepublicity.com/free-fonts/a/ActionIs.ttf
 116. http://www.webpagepublicity.com/free-fonts/a/Activa.ttf
 117. http://www.webpagepublicity.com/free-fonts/a/Addicted%20to%20Type.ttf
 118. http://www.webpagepublicity.com/free-fonts/a/AddJazz.ttf
 119. http://www.webpagepublicity.com/free-fonts/a/AdineKirnberg-S.ttf
 120. http://www.webpagepublicity.com/free-fonts/a/Adler.ttf
 121. http://www.webpagepublicity.com/free-fonts/a/Adresack%E2%84%A2.ttf
 122. http://www.webpagepublicity.com/free-fonts/a/Adriator.ttf
 123. http://www.webpagepublicity.com/free-fonts/a/Adventure%20Normal.ttf
 124. http://www.webpagepublicity.com/free-fonts/a/Adventure%20Subtitles%20Normal.ttf
 125. http://www.webpagepublicity.com/free-fonts/a/%C6%20Systematic%20TT%20BRK.ttf
 126. http://www.webpagepublicity.com/free-fonts/a/Aetherfox.ttf
 127. http://www.webpagepublicity.com/free-fonts/a/African.ttf
 128. http://www.webpagepublicity.com/free-fonts/a/Aftermath%20(BRK).ttf
 129. http://www.webpagepublicity.com/free-fonts/a/Aftershock%20Debris%20Condensed%20Italic.ttf
 130. http://www.webpagepublicity.com/free-fonts/a/Aftershock%20Debris%20Condensed.ttf
 131. http://www.webpagepublicity.com/free-fonts/a/Aftershock%20Debris%20CondSolid%20Italic.ttf
 132. http://www.webpagepublicity.com/free-fonts/a/Aftershock%20Debris%20CondSolid.ttf
 133. http://www.webpagepublicity.com/free-fonts/a/Aftershock%20Debris%20Italic.ttf
 134. http://www.webpagepublicity.com/free-fonts/a/Aftershock%20Debris%20Solid%20Italic.ttf
 135. http://www.webpagepublicity.com/free-fonts/a/Aftershock%20Debris%20Solid.ttf
 136. http://www.webpagepublicity.com/free-fonts/a/Aftershock%20Debris.ttf
 137. http://www.webpagepublicity.com/free-fonts/a/Agatha%20Regular.ttf
 138. http://www.webpagepublicity.com/free-fonts/a/Agent%20Orange.ttf
 139. http://www.webpagepublicity.com/free-fonts/a/%C4ggstock.ttf
 140. http://www.webpagepublicity.com/free-fonts/a/AIFragment.ttf
 141. http://www.webpagepublicity.com/free-fonts/a/Aileenation.ttf
 142. http://www.webpagepublicity.com/free-fonts/a/Aims%20in%20your%20Life%20normal.ttf
 143. http://www.webpagepublicity.com/free-fonts/a/Air%20Millhouse%20Italic.ttf
 144. http://www.webpagepublicity.com/free-fonts/a/Air.ttf

Miten saisin jatkojalostettua komentoa siten, että pääte skippaisi listan alkupään ([]-sulkeissa) ja lataisi fontit numerosta 59. eteenpäin tiettyyn hakemistoon?
« Viimeksi muokattu: 18.07.08 - klo:13.39 kirjoittanut Petri Järvisalo »

Risto H. Kurppa

  • Käyttäjä
  • Viestejä: 3024
  • Useita Kubuntuja ajossa.
    • Profiili
    • http://risto.kurppa.fi
Vs: Apua skriptaukseen: ilmaisten fonttien lataaminen verkosta
« Vastaus #1 : 15.07.08 - klo:12.40 »
Tiedäthän että myös pakettivarastoista löytyy rutkasti fontteja. Kokeile hakea hakusanalla font..


r
UUSI UBUNTUN KÄYTTÄJÄ: SÄÄSTÄ AIKAASI LUKEMALLA  -> TÄMÄ <-

Petri Järvisalo

  • Käyttäjä
  • Viestejä: 579
    • Profiili
    • Kotisivut
Vs: Apua skriptaukseen: ilmaisten fonttien lataaminen verkosta
« Vastaus #2 : 15.07.08 - klo:13.26 »
esimerkiksi näin:

Koodia: [Valitse]
lynx -dump http://www.webpagepublicity.com/free-fonts.html#FreeFonts | grep .ttf | awk '{ print $2}' | grep http
yritin aikani saada tuon toimimaan regular expressioneilla, mutta huonolla menestyksellä, tuossa siis purkka & paukku ratkaisu.
Lisää [ratkaistu] ketjun ensimmäisen viestin otsikkoon, kun ongelma on ratkennut.

Petri Järvisalo

  • Käyttäjä
  • Viestejä: 579
    • Profiili
    • Kotisivut
Vs: Apua skriptaukseen: ilmaisten fonttien lataaminen verkosta
« Vastaus #3 : 15.07.08 - klo:13.35 »
Koodia: [Valitse]
lynx -dump http://www.webpagepublicity.com/free-fonts.html#FreeFonts | grep .ttf | awk '{ print $2}' | grep http | { while read -r line ; do wget "$line" ; done }

tämä sitten lataa tiedostot.
Lisää [ratkaistu] ketjun ensimmäisen viestin otsikkoon, kun ongelma on ratkennut.

Masse

  • Käyttäjä
  • Viestejä: 38
    • Profiili
Vs: Apua skriptaukseen: ilmaisten fonttien lataaminen verkosta
« Vastaus #4 : 15.07.08 - klo:16.56 »
Lisäänpä omani soppaan
Lainaus
lynx -dump -nonumbers http://www.webpagepublicity.com/free-fonts.html#FreeFonts | grep .ttf | xargs -i wget {}

Petri Järvisalo

  • Käyttäjä
  • Viestejä: 579
    • Profiili
    • Kotisivut
Vs: Apua skriptaukseen: ilmaisten fonttien lataaminen verkosta
« Vastaus #5 : 16.07.08 - klo:00.18 »
onpas huomattavasti selkeämpi.
milloinkahan sitä oppisi komentoriviä :)
Lisää [ratkaistu] ketjun ensimmäisen viestin otsikkoon, kun ongelma on ratkennut.