LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   software to create database of all files on file system (https://www.linuxquestions.org/questions/linux-software-2/software-to-create-database-of-all-files-on-file-system-4175426333/)

sumeet inani 09-09-2012 03:34 AM

software to create database of all files on file system
 
Firstly we can run 'sudo updatedb' and then use 'locate -i pattern' to search for file name .
I want to know , where that database is saved . Can I copy it and use it on another computer ?

Secondly , please suggest me a software which creates database of files alongwith their size and relevant features like mp3 needs id3 tag while video needs codec information .I also want its windows alternative so that database is cross OS compatible .

Thank You.

unSpawn 09-09-2012 08:31 AM

Quote:

Originally Posted by sumeet inani (Post 4776016)
I want to know , where that database is saved .

See 'man locate' (or mlocate or slocate) and 'man updatedb' for defaults.


Quote:

Originally Posted by sumeet inani (Post 4776016)
Can I copy it and use it on another computer ?

Yes. But if it would work is another question and even if it would the database would reflect contents of another system so there's no point in using it, right?


Quote:

Originally Posted by sumeet inani (Post 4776016)
Secondly , please suggest me a software which creates database of files alongwith their size and relevant features like mp3 needs id3 tag while video needs codec information .I also want its windows alternative so that database is cross OS compatible .

You could search your distributions' repositories, Sourceforge, The-Site-Formerly-Known-As-Freshmeat, Savannah.nongnu and Berlioz for (media) collection management software?

sumeet inani 09-16-2012 08:20 PM

'man updatdb' tells me /var/lib/mlocate/mlocate.db is the file.

Also , I asked here to see if anybody had undergone same problem and got a solution .

jefro 09-16-2012 09:45 PM

There have been some attempts to create a file system / database.

The only one I have used was the Be Filesystem.


All times are GMT -5. The time now is 03:31 PM.