DiskStalker
is a small application for monitoring contents of selected folders.
It provides the ability to set notifications about three types of statistics:
- total folder size
- number of files inside folder
- size of largest file
App also shows stats about type of files inside selected folder and presents list of largest files.
DiskStalker is using polling method for tracking changes in directory. Better approach is to use WatchService API but it does not work well on Windows (it blocks the files, so you are not able to delete files from observed folder, see StackOverflow).
Presentation: YouTube
Main View |
Files type view |
Largest files view |
Total folder limit set |
Total folder limit exceeded |
Visit Releases and download .jar. Then run:
java -jar nameOfTheJarFile.jar
git clone https://github.com/rivit98/DiskStalker.git
and import as Gradle project
- Java 15
- JavaFX
- RxJava3
- Spring (for dependency injection)
- SQLite
- Apache commons IO
- Apache Tika
- Mockito
- JUnit5
- something is wrong with TypeRecognizer and 'unknown' file types
- removing huge folders (~30k files) taking quite long time
- usage of observable buffering might be significant improve of removing times
Kamil Wnęk |
Kamil Koczera |
Albert Gierlach |
---|