Skip to content

Instantly share code, notes, and snippets.

@unique1984
Last active February 9, 2020 22:49
Show Gist options
  • Select an option

  • Save unique1984/699402038b2aad7f72dc09b58bd8aafe to your computer and use it in GitHub Desktop.

Select an option

Save unique1984/699402038b2aad7f72dc09b58bd8aafe to your computer and use it in GitHub Desktop.
books.goalkicker.com

Linux kullancıları tüm kitapları güncel haliyle indirmek için:

  • Bir adet terminal açın,
  • mkdir ~/books.goalkicker.com klasör oluşturun
  • cd books.goalkicker.com
  • Aşağıdaki iki dosyayı(update.sh, 00_book_links.txt) oluşturduğunuz klasöre kaydedin
wget https://gist.githubusercontent.com/unique1984/699402038b2aad7f72dc09b58bd8aafe/raw/b586dd603173a365a471f6559824a51f14c2807f/00_book_links.txt

wget https://gist.githubusercontent.com/unique1984/699402038b2aad7f72dc09b58bd8aafe/raw/b586dd603173a365a471f6559824a51f14c2807f/update.sh
  • chmod +x update.sh komutu ile shell scripte çalıştırma izni verin
  • ./update.sh komutu ile download işlemini başlatın,
  • birkaç ayda bir güncellenen kitaplar oluyor, update .sh içerisindeki komut olmayanları veya sadece güncellenen kitapları download eder.
#!/usr/bin/env bash
for i in `cat 00_book_links.txt`; do wget -N --no-if-modified-since $i; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment