This website works better with JavaScript.
Home
Help
Sign In
misc-utilities
/
mikes-backup-rotator
Watch
1
Star
0
Fork
0
Code
Issues
3
Pull Requests
0
Releases
4
Wiki
Activity
Browse Source
rename to avoid bad identifiers
remotes/github/dev
mike
1 year ago
parent
8232776e41
commit
66951ce1ae
2 changed files
with
14 additions
and
10 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-10
BackupRotator.py
+14
-0
main.py
backup-rotator → BackupRotator.py
View File
@ -246,13 +246,3 @@ class BackupRotator:
else
:
self
.
log
(
"
Purging directory:
"
,
dir_path
)
shutil
.
rmtree
(
dir_path
)
def
main
(
)
:
rotator
=
BackupRotator
(
)
rotator
.
run
(
)
if
__name__
==
"
__main__
"
:
main
(
)
+ 14
- 0
main.py
View File
@ -0,0 +1,14 @@
from
BackupRotator
import
BackupRotator
#
def
main
(
)
:
rotator
=
BackupRotator
(
)
rotator
.
run
(
)
if
__name__
==
"
__main__
"
:
main
(
)
Write
Preview
Loading…
Cancel
Save