Added script for remote backups

This commit is contained in:
leca 2023-05-06 02:06:00 +03:00
commit e27b47d4ee
2 changed files with 4 additions and 2 deletions

2
utilities/check-battery.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
upower -i $(upower -e | grep battery)

View File

@ -2,8 +2,8 @@ import requests
import json import json
import os import os
tags = str(input("Enter tags: ")) tags = input("Enter tags: ")
destination = str(input("Enter the directory you want dowload to (the directory will be created if not exists): ")) destination = input("Enter the directory you want dowload to (the directory will be created if not exists): ")
done = False done = False
def download_url(url): def download_url(url):