Something Like FileSystem Listener
Hi everyone! I'm new here and I am happy to be here.
I want to develop an application. In which application should have a database with a list of files. For example, if you have a folder/home/username/Music/ I want to create a list of all mp3 files in this directories (and subdirectories). My question is if there is an effective way to keep the database synchronized with the file system, or the only way is to periodically scan the specific file system and create the database from the beginning?