Browse Source

make all entries lowercase

master
Christian Urich 5 years ago
parent
commit
9abb72e94a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      backup.py

+ 2
- 2
backup.py View File

@ -12,9 +12,9 @@ def main():
print('conect to ' + host)
conn = Connection(host=host, port=22)
for service in config[host]:
backup_dir = '{}/{}'.format(backup_path, service)
backup_dir = '{}/{}'.format(backup_path, service).lower()
print('from' + config[host][service] + ' to ' + backup_dir)
conn.get(config[host][service], backup_dir)
conn.get(config[host][service], backup_dir.lower())
conn.run('rm {}'.format(config[host][service]))


Loading…
Cancel
Save