exponential-decay / demystify

Engine for analysis of Siegfried export files and DROID CSV. The tool has three purposes, break the export into its components and store them within a SQLite database; create additional columns to augment the output where useful; and query the SQLite database, outputting results in a readable form useful for analysis by researchers and archivists within digital preservation departments in memory institutions. The tool will find duplicates, unidentified files, blacklisted objects, character encoding issues, and more.
http://www.openplanetsfoundation.org/blogs/2014-06-03-analysis-engine-droid-csv-export
zlib License
23 stars 5 forks source link

Unable to output to a CSV file using command line #111

Open luvnrocs opened 2 months ago

luvnrocs commented 2 months ago

I'm using this code to run a folder full of files (20 or so) and output the results to a CSV file like the GUI does, but the -o switch isn't creating the output.csv file.

java -jar C:\Users\j_morris\Documents\droid-binary-6.8.0-bin\droid-command-line-6.8.0.jar -p C:\Users\j_morris\Documents\droid-binary-6.8.0-bin\profile.droid -a C:\Users\j_morris\objects -o C:\Users\j_morris\output.csv

Any advice?

luvnrocs commented 2 months ago

This is the output I see in command terminal:

2024-09-10T17:33:50,288 INFO [main] DroidCommandLine:225 - Starting DROID. 2024-09-10T17:33:51,193 INFO [main] ProfileManagerImpl:129 - Creating profile: 1726004031192 2024-09-10T17:33:51,225 INFO [main] ProfileInstance:365 - Attempting state change [INITIALISING] to [VIRGIN] 2024-09-10T17:33:52,539 INFO [main] ProfileManagerImpl:265 - Starting profile: 1726004031192 2024-09-10T17:33:52,540 INFO [main] ProfileInstance:365 - Attempting state change [VIRGIN] to [RUNNING] 2024-09-10T17:33:52,638 INFO [pool-2-thread-1] ProfileInstance:365 - Attempting state change [RUNNING] to [FINISHED] 2024-09-10T17:33:53,652 INFO [main] ProfileManagerImpl:349 - Saving profile: 1726004031192 to C:\Users\j_morris\Documents\droid-binary-6.8.0-bin\profile.droid 2024-09-10T17:33:53,699 INFO [main] ProfileInstance:365 - Attempting state change [FINISHED] to [SAVING] 2024-09-10T17:33:53,702 INFO [main] ProfileDiskAction:87 - Saving profile [C:\Users\j_morris.droid6\profiles\1726004031192] to [C:\Users\j_morris\Documents\droid-binary-6.8.0-bin\profile.droid] 2024-09-10T17:33:54,057 INFO [main] ProfileInstance:365 - Attempting state change [SAVING] to [FINISHED] 2024-09-10T17:33:54,057 INFO [main] ProfileManagerImpl:206 - Closing profile: 1726004031192

ross-spencer commented 2 months ago

Hi Jenn -- i haven't really used DROID recently on the command line I'd need to take a look or you'd need to ask the DROID team.

I noticed your message on the droid-list -- you might be interested in demystify-lite: https://ross-spencer.github.io/demystify-lite/

More info: https://exponentialdecay.co.uk/blog/client-side-identification-and-reporting-pipeline-with-siegfried-and-demystify-lite/

DROID's issues can be found here: https://github.com/digital-preservation/droid/issues