Add autistic 'gethub' script
This commit is contained in:
parent
4408d18471
commit
678576709d
9
.local/bin/scripts/gethub
Executable file
9
.local/bin/scripts/gethub
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Autistic script for convert GitHub links into
|
||||||
|
# links to raw files and download it via wget.
|
||||||
|
|
||||||
|
echo "$1" | sed '
|
||||||
|
s/github.com/raw.githubusercontent.com/g;
|
||||||
|
s/blob//g
|
||||||
|
' | xargs -r wget
|
Loading…
x
Reference in New Issue
Block a user