Skip to content

Commit d166420

Browse files
author
J15k
committed
changed home path
1 parent def9b5a commit d166420

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Find the script here: [rsync-backup-script.sh](https://github.com/uhk-ditig/rsyn
2828

2929
### Set Key Variables
3030

31-
* `backuppath`: The directory to back up (`/home/user`).
31+
* `backuppath`: The directory to back up (`$HOME`).
3232
* `mountpoint`: The backup destination (`/media/user/backup`).
3333
* `date`: Current date in `YYYY-MM-DD` format.
3434
* `time`: Current time in `HH:MM:SS` format.

rsync-backup-script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function usage ()
2626
# Variables
2727
#
2828
# source directory to back up
29-
backuppath="/home/user"
29+
backuppath=$HOME
3030

3131
# back up destination location
3232
# Arch

0 commit comments

Comments
 (0)