From 544c5761832174f350b805aeb480a1edfe39ee44 Mon Sep 17 00:00:00 2001 From: Tilman Date: Mon, 27 Nov 2023 19:49:59 +0100 Subject: [PATCH] selective-backup.py --- python/selective-backup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/selective-backup.py b/python/selective-backup.py index f27b559..fb4b4ca 100644 --- a/python/selective-backup.py +++ b/python/selective-backup.py @@ -7,15 +7,15 @@ import shutil basedir = "/media/hd/cloud" # list of the paths to the files and directories to be copied, relative to the base directory -filelist = "/media/hd/cloud/Tilman/Computer/selective-backups/filelist.txt" +filelist = "/media/hd/cloud/Tilman/Computer/selective-backup/filelist.txt" # duration for backups to be kept days_to_keep = 5 months_to_keep = 5 # directories to backup to -daily_dir = "/media/hd/cloud/Tilman/Computer/selective-backups/daily/" -monthly_dir = "/media/hd/cloud/Tilman/Computer/selective-backups/monthly/" +daily_dir = "/media/hd/cloud/Tilman/Computer/selective-backup/daily/" +monthly_dir = "/media/hd/cloud/Tilman/Computer/selective-backup/monthly/" now = datetime.now() today = datetime.today()