diff options
| author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-03-30 11:15:34 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-03-30 11:15:34 +0800 |
| commit | 5c850f90272d9b1845d878e2026292b8137801d5 (patch) | |
| tree | 2c21ba2aa427bd0a5fc8823566003a244efaea59 /alias | |
| parent | 12564116825f95e05083c1810d9010e9a530bf4d (diff) | |
update
Diffstat (limited to 'alias')
| -rw-r--r-- | alias | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -454,9 +454,12 @@ up() { | |||
| 454 | curl -F"file=@${1}" http://0x0.st | 454 | curl -F"file=@${1}" http://0x0.st |
| 455 | #curl -F "file=@${1}" https://api.anonfiles.com/upload | 455 | #curl -F "file=@${1}" https://api.anonfiles.com/upload |
| 456 | } | 456 | } |
| 457 | sshup() { | 457 | ssh.up() { |
| 458 | scp "$1" topo:~/public | 458 | scp "$1" topo:~/public |
| 459 | } | 459 | } |
| 460 | ssh.down() { | ||
| 461 | ssh topo rm ~/public/"$1" | ||
| 462 | } | ||
| 460 | short() { | 463 | short() { |
| 461 | curl -F"shorten=${1}" http://0x0.st | 464 | curl -F"shorten=${1}" http://0x0.st |
| 462 | } | 465 | } |