From 62c95ef2f3a2374ddda52302d54801cfe442484d Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Wed, 25 Oct 2023 19:17:11 +0500 Subject: [nnn] Add getplugs plugin and update all plugins --- files/.config/nnn/plugins/oldbigfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 files/.config/nnn/plugins/oldbigfile (limited to 'files/.config/nnn/plugins/oldbigfile') diff --git a/files/.config/nnn/plugins/oldbigfile b/files/.config/nnn/plugins/oldbigfile new file mode 100755 index 0000000..0a21527 --- /dev/null +++ b/files/.config/nnn/plugins/oldbigfile @@ -0,0 +1,16 @@ +#!/usr/bin/env sh + +# Description: List files bigger than input size by ascending access date. +# +# Dependencies: find sort +# +# Shell: POSIX compliant +# Author: Arun Prakash Jana + +printf "Min file size (MB): " +read -r size + +find . -size +"$size"M -type f -printf '%A+ %s %p\n' | sort + +echo "Press any key to exit" +read -r _ -- cgit v1.2.3