commit 7f0af73f60781286ff2344017e3282537205c6ef parent 50792ab0b0089c1114de7416ddbaa4398294de06 Author: Hayden Hamilton <hayden@haydenvh.com> Date: Thu, 20 Feb 2020 17:43:52 +0000 makefile for personal dirs Diffstat:
M | .gitaddlist | | | 1 | + |
A | general/makefile | | | 36 | ++++++++++++++++++++++++++++++++++++ |
2 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/.gitaddlist b/.gitaddlist @@ -58,4 +58,5 @@ git add .config/vimb/style.css git add .config/vimb/scripts.js git add .config/neomutt/neomuttrc git add .config/neomutt/colours +git add general/makefile git rm --cache .config/vim/.netrwhist diff --git a/general/makefile b/general/makefile @@ -0,0 +1,36 @@ +tar: + tar czvf images.tar.gz images + tar czvf downloads.tar.gz downloads + tar czvf documents.tar.gz documents + tar czvf music.tar.gz music + tar czvf videos.tar.gz videos + tar czvf mail.tar.gz mail + tar czvf security.tar.gz security + +clean: + rm *.tar.gz + +extract: + tar xzvf images.tar.gz + tar xzvf downloads.tar.gz + tar xzvf documents.tar.gz + tar xzvf music.tar.gz + tar xzvf videos.tar.gz + tar xzvf mail.tar.gz + tar xzvf security.tar.gz + +link: + cd .. + ln -s general/images images + ln -s general/music music + ln -s general/videos videos + ln -s general/images/wallpapers .wallpapers + ln -s general/mail mail + ln general/security/pass work/pass + +unlink: + unlink ../images + unlink ../music + unlink ../videos + unlink ../.wallpapers + unlink ../mail