Web:
curl:
$ curl -H 'x-file-name: hello.png' --data-binary @hello.png https://filelink.io
https://filelink.io/qxw5pj65gj07/hello.png
curl helper
$ echo 'filelink(){ if [ $# -eq 0 ];then echo "$ filelink /path/to/file";return 1;fi;if [ ! -f $1 ];then echo "$1 does not exists";return 1;fi;echo $(curl --progress-bar -H "x-file-name: $(basename $1)" --data-binary @$1 https://filelink.io); }' >> ~/.bashrc # OR .bash_profile on MacOS
$ exec -l $SHELL
$ filelink hello.zip
######################################################################## 100.0%
https://filelink.io/rhdtvz1fis6p/hello.zip
注:
1
JobsHuang 2018-01-18 19:08:40 +08:00
这个网站....每个文件可以存放多久,还有怎么删除
|
2
fuckgfwfuckgfw OP 24h
|