tagaction sorts a directory of unsorted images into subfolders. It uses dmenu to ask for the folder name and also provide a list of already used names.
Usage: feh --action='tagaction %F' ...
feh --action='tagaction %F' ...