core icon indicating copy to clipboard operation
core copied to clipboard

workspace CLI: show unmanaged files

Open bertsky opened this issue 5 years ago • 2 comments
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)?

bertsky avatar Jun 17 '20 12:06 bertsky

Yes, something similar to what git status -u does!

mikegerber avatar Aug 07 '20 14:08 mikegerber

Yes, something similar to what git status -u does!

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.

kba avatar Aug 07 '20 14:08 kba