From 9eaf9eaa00711e6930b617c104871eb90ab8ff40 Mon Sep 17 00:00:00 2001 From: Brandon Lopez Date: Fri, 27 Jul 2018 16:20:50 -0700 Subject: [PATCH] Less than ideal script to grab cheatsheets from different repos --- get-sheets.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 get-sheets.sh diff --git a/get-sheets.sh b/get-sheets.sh new file mode 100644 index 0000000..7145e54 --- /dev/null +++ b/get-sheets.sh @@ -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 . \ No newline at end of file