mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
added flag -f for big files
This commit is contained in:
parent
b0a985bca8
commit
c673840d5d
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
if [ -n "$1" ] && [ -s "$1" ]; then
|
if [ -n "$1" ] && [ -s "$1" ]; then
|
||||||
if which ffsend >/dev/null 2>&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
|
elif [ "$(mimetype --output-format %m "$1" | awk -F '/' '{print $1}')" = "text" ]; then
|
||||||
curl -F "f:1=@$1" ix.io
|
curl -F "f:1=@$1" ix.io
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue