summaryrefslogtreecommitdiffstats
path: root/.bin/create-local-backup
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-10-08 12:40:19 +0200
committerRomain Gonçalves <me@rgoncalves.se>2022-10-08 12:40:19 +0200
commitce6be946d024aa55a15d576388d05f90be671cf2 (patch)
treefa1053446a3fb06daee8438c1ff664cb36c0abcb /.bin/create-local-backup
parent703ed1915c69911a95cab6e1fb6524629c976800 (diff)
downloaddots-ce6be946d024aa55a15d576388d05f90be671cf2.tar.gz
Sat Oct 8 12:40:19 PM CEST 2022
Diffstat (limited to '.bin/create-local-backup')
-rwxr-xr-x.bin/create-local-backup24
1 files changed, 0 insertions, 24 deletions
diff --git a/.bin/create-local-backup b/.bin/create-local-backup
deleted file mode 100755
index 4e4cb1b..0000000
--- a/.bin/create-local-backup
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-set -xe
-
-source_directories="./git.rgoncalves.se/
- ./
- "
-
-out_dir=$(readlink -f "${1}")
-
-[ -d "${out_dir}" ]
-
-exit
-rsync -hvrPt \
- --delete-after \
- --fuzzy \
- --prune-empty-dirs \
- --include "*.pdf" \
- --include "*.epub" \
- --include "*.png" \
- --include "*.jpg" \
- --include "*/" \
- --exclude "*" \
- "${src_dir}/" "${out_dir}/"
remember that computers suck.