-
Notifications
You must be signed in to change notification settings - Fork 1
/
app_settings_remove_old.py
25 lines (18 loc) · 817 Bytes
/
app_settings_remove_old.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env python3
# encoding: utf-8
"""
Este módulo é parte integrante da aplicação NPK-Backup, desenvolvida por
Victor Domingos e distribuída sob os termos da licença Creative Commons
Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
"""
# ------- Configurar estas variáveis antes de usar. ---------
# Caminho completo para a pasta que contém os ficheiros e pastas a arquivar e
# copiar (sem '/' no final).
BACKUPS_FOLDER = '~/Dropbox/Aplicativos/backups'
# Número de dias que as cópias de segurança devem ser conservadas sem apagar.
BACKUP_TIMEOUT = 5
# Usar 'Lixo'/'Reciclagem' do sistema operativo em vez de apagar imediatamente?
USE_TRASH = True
# Caminho para o ficheiro de registo
LOGS_PATH = '~/Dropbox/npk-backup.log'
# ----------------------------------------------------------