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

8 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. Compile the project
sbt clean assembly
  1. Run the project
java -jar target/scala-3.x.x/indexer.jar <directory> <database>

Note

The directory and database args are optional. If not provided, the program will use the current directory.

Example

java -jar target/scala-3.3.1/indexer.jar /home/user/Documents /home/user/Documents/database.db

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