summaryrefslogtreecommitdiff
path: root/syncdata
diff options
context:
space:
mode:
authorgrothedev <grothedev@gmail.com>2021-06-12 15:36:31 -0500
committergrothedev <grothedev@gmail.com>2021-06-12 15:36:31 -0500
commit7ad82011db8c22a18a5870394e890b2cc15ecc8c (patch)
tree8b1b5537dc20d6226d2a5caf69ab2f725cba05fe /syncdata
first commit. random and useful scripts
Diffstat (limited to 'syncdata')
-rwxr-xr-xsyncdata9
1 files changed, 9 insertions, 0 deletions
diff --git a/syncdata b/syncdata
new file mode 100755
index 0000000..a45742e
--- /dev/null
+++ b/syncdata
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+
+#backs up commonly modified files
+for f in `cat ~/.config/datasync/files`; do
+ f=`echo ${f} | sed 's,~,/home/'${USER}',g'`
+ echo $f
+ backup_simple ${f} ${f}
+done