mirror of
https://github.com/notwa/rc
synced 2024-07-01 03:07:13 -07:00
complement eaput with eaget
This commit is contained in:
parent
513272d751
commit
944f05ffea
4
home/ea
4
home/ea
|
@ -9,6 +9,10 @@ eahead() {
|
||||||
curl -I "$_REMOTE_DOMAIN/$_REMOTE_DIR/$1"
|
curl -I "$_REMOTE_DOMAIN/$_REMOTE_DIR/$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
eaget() {
|
||||||
|
curl "$_REMOTE_DOMAIN/$_REMOTE_DIR/$1" -o "${2:-$1}"
|
||||||
|
}
|
||||||
|
|
||||||
eaput() {
|
eaput() {
|
||||||
curl -n -T "$1" "$_REMOTE_DOMAIN/$_REMOTE_AUTH/"
|
curl -n -T "$1" "$_REMOTE_DOMAIN/$_REMOTE_AUTH/"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user