3

I do have many backups on my nas and my dedicated server. Some as copy within the filesystem, some archived as .zip or .tar.{bz2|gz}.

Is there any way to include the filenames within these archives in the updatedb-database?

Or is there any other tool available?

A complete desktop search engine would be too bloaty, I think.

philipp
  • 101

1 Answers1

1

Try https://framagit.org/daajaa/find_tar that I made to answer your question. More, it explores tar files inside tar files (recursive). This is a shell script, so that you can review it yourself before use.

updatedb_tar outputs the list of files efficiently, you will then have to store it, after eventual conversion for direct use by slocate. Feel free to fork my project on framagit.

I made file_sha256_tar because that was my actual need.