Skip to content

Commit

Permalink
Fix home dir
Browse files Browse the repository at this point in the history
set home dir dynamically from `$HOME` variable.
  • Loading branch information
simonschllng authored Dec 9, 2019
1 parent 4703feb commit c2ac5bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rM-sync.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Sync script for the reMarkable reader
# Version: 0.2
# Version: 0.1
# Author: Simon Schilling
# Licence: MIT

Expand All @@ -12,7 +12,7 @@ RMIP="10.11.99.1"
SSHPORT="22"

# Local configuration
MAINDIR="/home/simon/rM"
MAINDIR="$HOME/rM"
BACKUPDIR="$MAINDIR/backup/" # rotating backups of all rM contents
UPLOADDIR="$MAINDIR/upload/" # all files here will be sent to rM
OUTPUTDIR="$MAINDIR/files/" # PDFs of everything on the rM
Expand Down

0 comments on commit c2ac5bb

Please sign in to comment.