LibraryOfCongress / bagger

The Bagger application packages data files according to the BagIt specification.
Other
120 stars 19 forks source link

Hidden files being copied in version 2.8.1 #66

Open robmiles888 opened 4 years ago

robmiles888 commented 4 years ago

When creating a bag Bagger is copying the hidden files contained on a hard drive. This is causing some problems for automated processes we use to count the number of files in a sub-directory. e.g. .DS_Store _000.tif _001.tif

It seems as if this could have been resolved in version 2.5 according to this - but the issue seems to persist. Any help appreciated. Thanks

Version: Bagger 2.8.1 OS: Windows 7

jscancella commented 4 years ago

https://github.com/LibraryOfCongress/bagger/issues/10 just created some scripts to automate removing files based on a regex AFTER the bag was already created. run python scripts/baggerLinter.py and it will give you examples