Skip to content

Commit

Permalink
✨ generic gdrive backup locations
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhomer committed Dec 5, 2023
1 parent 4ffc134 commit 0e736a0
Show file tree
Hide file tree
Showing 4 changed files with 255 additions and 246 deletions.
10 changes: 9 additions & 1 deletion bin/backup-me
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,19 @@ args="$args --log-file=$LOG"
# args="$args --dry-run"
log:: "rsync args : $args"

LOCATIONS=".dotfiles gdrive .local/share/buku"
LOCATIONS=".dotfiles .local/share/buku"
PROJECT_ROOTS="things dotmodules my try"
for root in $PROJECT_ROOTS ; do
LOCATIONS="$LOCATIONS projects/$root"
done
GDRIVE_LOCATIONS=$(
find $HOME -maxdepth 1 -type d \( -name 'gdrive' -o -name 'gdrive-*' \) \
-exec basename {} \;
)
for gdrive in $GDRIVE_LOCATIONS ; do
echo "Found gdrive : $gdrive"
LOCATIONS="$LOCATIONS $gdrive"
done
echo $DEFAULT_PROJECT_ROOTS
for location in $LOCATIONS ; do
LOCATION="$HOME/$location"
Expand Down
1 change: 1 addition & 0 deletions dotfiles/vim/.config/vim/spell/en.utf-8.add
Original file line number Diff line number Diff line change
Expand Up @@ -312,3 +312,4 @@ YubiKey
AirDrop
powerpack
os
Exploratative
10 changes: 5 additions & 5 deletions test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"author": "anon",
"description": "dotme test",
"devDependencies": {
"@types/node": "20.10.0",
"@typescript-eslint/eslint-plugin": "6.12.0",
"@typescript-eslint/parser": "6.12.0",
"@types/node": "20.10.3",
"@typescript-eslint/eslint-plugin": "6.13.2",
"@typescript-eslint/parser": "6.13.2",
"bats": "1.10.0",
"bats-assert": "2.0.0",
"bats-support": "0.3.0",
"eslint": "8.54.0",
"eslint-config-prettier": "9.0.0",
"eslint": "8.55.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-sonarjs": "0.23.0",
"jest": "^29.7.0",
Expand Down
Loading

0 comments on commit 0e736a0

Please sign in to comment.