Implemented basic cleanup

This commit is contained in:
2022-12-09 13:22:57 +01:00
parent f547b79675
commit fa82f4d5da
5 changed files with 16 additions and 11 deletions

View File

@@ -1,7 +1,10 @@
from .AbstractSplittedSecret import AbstractSplittedSecret
class Cleanup(AbstractSplittedSecret):
def __init__(self):
pass
super(Cleanup, self).__init__()
def deleteAllEncryptedFiles(self):
self.executeCommand('rm -v ' + self.encrypted_splitted_password_files_folder + '*')
print(self.getCommandString())
print(self.getOutputString())
def deleteAll(self):
pass
self.deleteAllEncryptedFiles()