Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command to prune empty directories #8

Closed
svniemeijer opened this issue Mar 31, 2017 · 3 comments
Closed

Add command to prune empty directories #8

svniemeijer opened this issue Mar 31, 2017 · 3 comments

Comments

@svniemeijer
Copy link
Contributor

This command line operation should remove any empty directories (recursively) from a product archive.

@bruno-rino
Copy link
Contributor

What to name this tool? muninn-prune-filesystem?

@svniemeijer
Copy link
Contributor Author

There currently exists a simple alternative which is to use find <archiveroot> -type d -empty -delete

The priority of this feature is thus low.
We should consider including it when we tackle #7.

@svniemeijer
Copy link
Contributor Author

Since this feature is only applicable for storage=fs, it does not really fit as a muninn command.
The current recommended approach will thus be to use the find <archiveroot> -type d -empty -delete approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants