]> Sergey Matveev's repositories - nnn.git/commitdiff
added flag -f for big files
authorakimdi <akimdi@users.noreply.github.com>
Sat, 24 Apr 2021 17:55:21 +0000 (20:55 +0300)
committerGitHub <noreply@github.com>
Sat, 24 Apr 2021 17:55:21 +0000 (20:55 +0300)
plugins/upload

index 56ed0a31a88cb4c8bca88dcbc15e4039f740d61d..6a929a577ebf51a0abb497863ec6e09647aea8a5 100755 (executable)
@@ -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