1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00

Less than ideal script to grab cheatsheets from different repos

This commit is contained in:
Brandon Lopez
2018-07-27 16:20:50 -07:00
parent 65cf18ca95
commit 9eaf9eaa00
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
## this doesn't error check, if it breaks and destroys things I'm sorry
mkdir cheatsheets
cd cheatsheets
mkdir cheat tldr spool
git clone --recursive https://github.com/adambard/learnxinyminutes-docs
git clone --recursive https://github.com/chrisallenlane/cheat cheat-temp
mv cheat-temp/cheat/cheatsheets/* cheat
rm -rf cheat-temp
git clone --recursive http://github.com/tldr-pages/tldr tldr-temp
mv tldr-temp/pages/* tldr
rm -rf tldr-temp
git clone --recursive https://github.com/chubin/cheat.sheets.git
mv cheat.sheets/sheets .