Very often I
find through directories (usually containing images) and I have to "visually" check the result before I can operate on the result (like deleting, moving, etc).
find ./pictures -iname "*.jpg" -size +2M -not -path "*/holiday/*" path1/img_2345.jpg path1/img_2346.jpg path1/img_2347.jpg
I'd then like to quickly check what's behind the file names. I know I can just
display them but sometimes I need to handle output of several hundred file names so running one command each is not an option.
nemo etc. aren't an option neither because their filter capabilities are too limited (I'd really like to use
So now my question is: Is there a way to comfortably use the output of arbitrary command line tools as input for a file/image viewer?
Edit: the comments show that I missed some details which are important to me:
The viewer should operate on the actual files rather than copies or symlinks (like e.g.
gwenviewdoes when you provide files on command line). The reason is I'd like to be able to delete/rename/move the files.
The involved viewer should keep the information about the directory structure (for several reasons)
- operating on files becomes difficult when I only have the name
- sometimes the file name is not unique
- sometimes the directory name contains important information
I started to implement a tool on my own but I have that dirty feeling of reinventing the wheel.. at least I can better show you what I'm talking about:
Obviously in the bottom field you can write any command, file names are listed in the left field. Clicking on any list item would display it.
I guess this functionality could already exist as a plugin for a terminal emulator or a file manager - but I don't know any..
Until I find a better solution I will continue development (join me here). But I'd really like to save the time and use an existent solution.
How is your work flow?