R
R
ryokuyou2019-01-04 13:32:48
linux
ryokuyou, 2019-01-04 13:32:48

Is there something on fuse (or similar) that can replace searching in file managers?

In various file managers, it is possible to search for files by some criterion, and after the search, get the result in the form of a list of files on which you can perform various operations (for example, open in an editor).
Is there something that could be used on the command line?
Something like this:

  • It uses fuse and therefore you can use various operations on the search result in the cli. In addition, programs that show the contents of fs, all sorts of picture viewers, etc., are more convenient to use;
  • It would be great if this application did not implement the search itself, but accepted a list of file paths in some way:find $PWD -name '*.cpp' | file-list-fs

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
alex_shpak, 2019-01-04
@ryokuyou

fuse, I don't know, the simplest is xargs + ln, which creates hardlinks to found files in a specific directory:
but if there are two files with the same name in the search results, only one will be in the results.

S
SOTVM, 2019-01-04
@sotvm

What does not suit a regular search? Few options?
I use doublecmd for such movements
ps
there is some tool in C, but I forgot the name (
I set the instant search to mint, but after reinstalling the system I don’t remember, and I don’t want to gut the old backup.
Google it myself

V
Vladimir, 2019-01-04
@MechanID

usually the find and mlocate utilities are enough,
find gives a lot of flexibility
mlocate searches very quickly (on pre-built indexes)
If you have a specific use case then write a bash wrapper for find and you will be happy.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question