4 sel=${NNN_SEL:-${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection}
6 read -d $"\x00" -A tgts < $sel || :
9 size=${size[$#size - 1]}
10 for tgt ($tgts) ( cd $tgt:h ; tar cf - $tgt:t ) |
11 pv --wait --interval 0.5 --size ${size}k |
12 tar xf - --options read_concatenated_archives