core
core copied to clipboard
workspace CLI: show unmanaged files
trafficstars
Now that we have prune-files on the one hand and bulk-add on the other, how about a new command that lists those files in the workspace directory which are not in the METS yet (maybe filtered by file/MIME type or suffix)?
Yes, something similar to what git status -u does!
Yes, something similar to what
git status -udoes!
And perhaps also support ocrd workspace clean -df that removes files/folders in the file system that are not referenced in METS. Like git clean or like prune-files but based on the filesystem not the METS.