aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/oldbigfile
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-22 02:14:25 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-22 11:13:34 +0530
commit1cca9e4b72b106374f203890b266f18609deefe3 (patch)
tree9f281f4b4de296c54d13dc9c7e214f58835636a7 /plugins/oldbigfile
parentee2dcb1de7d3e82b330f49ee9fb5dfd4608207ff (diff)
downloadnnn-1cca9e4b72b106374f203890b266f18609deefe3.tar.gz
shellcheck fixes
Diffstat (limited to 'plugins/oldbigfile')
-rwxr-xr-xplugins/oldbigfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/oldbigfile b/plugins/oldbigfile
index 4b17405..68f4bed 100755
--- a/plugins/oldbigfile
+++ b/plugins/oldbigfile
@@ -7,10 +7,10 @@
# Shell: POSIX compliant
# Author: Arun Prakash Jana
-echo -n "Min file size (MB): "
-read size
+printf "Min file size (MB): "
+read -r size
-find -size +"$size"M -type f -printf '%A+ %s %p\n' | sort
+find . -size +"$size"M -type f -printf '%A+ %s %p\n' | sort
echo "Press any key to exit"
-read dummy
+read -r _