Skip to content

Scala program that allows to get all the file metadata and map it to a SQLite database from a given directory.

License

Notifications You must be signed in to change notification settings

Sergimayol/indexer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Indexer

Indexer is a Scala program that allows to get all the file metadata and map it to a SQLite database from a given directory.

Requirements

  • Scala 3
  • sbt
  • SQLite

Usage

  1. Clone the repository
git clone https://github.com/Sergimayol/indexer.git
  1. Configure the application.conf settings as you want, by default:
sqlite {
  url = "jdbc:sqlite:.indexer.db"
  driver = "org.sqlite.JDBC"
  connectionPool = disabled
  keepAliveConnection = true
}

indexer {
  initialPath = "./"
  insertBatchSize = 100
}
  1. Run the project
sbt run

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Scala program that allows to get all the file metadata and map it to a SQLite database from a given directory.

Topics

Resources

License

Stars

Watchers

Forks

Languages