mirror of
https://github.com/kevinveenbirkenbach/splitted-secret.git
synced 2024-11-01 00:53:11 +01:00
13 lines
593 B
Python
13 lines
593 B
Python
from .AbstractSplittedSecret import AbstractSplittedSecret
|
|
class Cleanup(AbstractSplittedSecret):
|
|
def __init__(self):
|
|
super(Cleanup, self).__init__()
|
|
def deleteAllEncryptedFiles(self):
|
|
self.executeCommand('rm -v ' + self.decrypted_password_files_folder + '*')
|
|
print(self.getCommandString())
|
|
print(self.getOutputString())
|
|
self.executeCommand('rm -v ' + self.encrypted_splitted_password_files_folder + '*')
|
|
print(self.getCommandString())
|
|
print(self.getOutputString())
|
|
def deleteAll(self):
|
|
self.deleteAllEncryptedFiles() |