Currently it's only possible to move the old certificates into the 'archive' folder. This PR adds the possibility to also delete them, without moving them into the archive folder. The new parameter is '--cleanupdelete'.
Additionally it checks prior archiving/deleting if a file exists - prevents the error-messages of not-existing files.
Let me know if you have any suggestions for improvements!
Thanks and Happy-Merging,
Pfuender
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/dehydrated-io/dehydrated/pull/587
**Author:** [@pfuender](https://github.com/pfuender)
**Created:** 8/15/2018
**Status:** ❌ Closed
**Base:** `master` ← **Head:** `master`
---
### 📝 Commits (2)
- [`3de23f1`](https://github.com/dehydrated-io/dehydrated/commit/3de23f1a8bb7cfc4a99610a3cfc21b37f818232f) adding new CLI Command (--cleanupdelete / -gcd) to cleanup+delete (instead of just moving to /archive)
- [`7c5d70a`](https://github.com/dehydrated-io/dehydrated/commit/7c5d70a1028736b1d7658387da7a09f993b7c13d) Merge branch 'master' into master
### 📊 Changes
**1 file changed** (+31 additions, -9 deletions)
<details>
<summary>View changed files</summary>
📝 `dehydrated` (+31 -9)
</details>
### 📄 Description
Currently it's only possible to move the old certificates into the 'archive' folder. This PR adds the possibility to also delete them, without moving them into the archive folder. The new parameter is '--cleanupdelete'.
Additionally it checks prior archiving/deleting if a file exists - prevents the error-messages of not-existing files.
Let me know if you have any suggestions for improvements!
Thanks and Happy-Merging,
Pfuender
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/dehydrated-io/dehydrated/pull/587
Author: @pfuender
Created: 8/15/2018
Status: ❌ Closed
Base:
master← Head:master📝 Commits (2)
3de23f1adding new CLI Command (--cleanupdelete / -gcd) to cleanup+delete (instead of just moving to /archive)7c5d70aMerge branch 'master' into master📊 Changes
1 file changed (+31 additions, -9 deletions)
View changed files
📝
dehydrated(+31 -9)📄 Description
Currently it's only possible to move the old certificates into the 'archive' folder. This PR adds the possibility to also delete them, without moving them into the archive folder. The new parameter is '--cleanupdelete'.
Additionally it checks prior archiving/deleting if a file exists - prevents the error-messages of not-existing files.
Let me know if you have any suggestions for improvements!
Thanks and Happy-Merging,
Pfuender
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.