1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-06-26 09:07:12 -07:00

complement eaput with eaget

This commit is contained in:
Connor Olding 2017-06-15 17:54:14 +00:00
parent 513272d751
commit 944f05ffea

View File

@ -9,6 +9,10 @@ eahead() {
curl -I "$_REMOTE_DOMAIN/$_REMOTE_DIR/$1"
}
eaget() {
curl "$_REMOTE_DOMAIN/$_REMOTE_DIR/$1" -o "${2:-$1}"
}
eaput() {
curl -n -T "$1" "$_REMOTE_DOMAIN/$_REMOTE_AUTH/"
}