added flag -f for big files

This commit is contained in:
akimdi 2021-04-24 20:55:21 +03:00 committed by GitHub
parent b0a985bca8
commit c673840d5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@
if [ -n "$1" ] && [ -s "$1" ]; then
if which ffsend >/dev/null 2>&1; then
ffsend -iq u "$1"
ffsend -fiq u "$1"
elif [ "$(mimetype --output-format %m "$1" | awk -F '/' '{print $1}')" = "text" ]; then
curl -F "f:1=@$1" ix.io
else