capncodewash / Misc-shell-scripts

Bits and pieces of junk cobbled together to do interesting things.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove duplicates where necessary

aleksejrs opened this issue · comments

If there are multiple copies of a file in a directory, output will contain sets of duplicates. Adding “|sort|uniq” before the > fixes that.

Hi @aleksejrs - feel free to send a pull request for these changes.

This change was intended for manual use. Maybe it's bad for use with Vifm's custom view (but that's not really automated yet anyway).