Hardware-Target-Game-Database icon indicating copy to clipboard operation
Hardware-Target-Game-Database copied to clipboard

Add -n, --dry-run option to build_pack.py script

Open NayoMays opened this issue 4 years ago • 2 comments

NayoMays avatar Nov 24 '20 00:11 NayoMays

Hi @NayoMays that's a good idea but I need some time to see where it can be integrated in the script.

As I see it, the idea is to parse the database and to compute a hash value for each file in the input folder, but to avoid copying the files to the output folder. A temporary solution for you could be to use the --file_strategy hardlink. It creates an output folder, but files are not copied and take almost no additional space. You can safely delete the newly created folder after your run.

frederic-mahe avatar Nov 24 '20 09:11 frederic-mahe

Would the "dry-run" option be the same as only listing the coverage statistic and optionally logging missing files from a given input directory?

steve1515 avatar Dec 20 '20 06:12 steve1515