digital-preservation/droid

Inconsistency between profile and no profile command when using -At

sparkhi opened this issue · 0 comments

This is a minor issue.

While trying out the -At flag, I noticed inconsistency between the profile and no-profile mode.

e.g. in profile mode, (assuming the /home/user/test-data/droid/archives folder contains a few archives as well as web archives)

create a profile:

./droid.sh -R '/home/user/test-data/droid/archives/' -At TAR -p /home/user/profile670.droid

then export it:

./droid.sh -p /home/user/profile670.droid -e /home/user/export670.csv

You will notice that the export has expanded the TAR files from archives as well as ARC and WARC from the web archives.

If you try a no profile command to generate similar output

./droid.sh -Nr '/home/user/test-data/droid/archives/' -At TAR -Ns /home/user/.droid6/signature_files/DROID_SignatureFile_V112.xml -q

You will notice that the TAR files from the archives are expanded and nothing from web archives is expanded.