aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fish2024/functions/docs_backup.fish4
1 files changed, 4 insertions, 0 deletions
diff --git a/fish2024/functions/docs_backup.fish b/fish2024/functions/docs_backup.fish
new file mode 100644
index 0000000..04b243b
--- /dev/null
+++ b/fish2024/functions/docs_backup.fish
@@ -0,0 +1,4 @@
+function docs_backup --wraps='rclone copy -P Documents doc_secret:' --wraps='rclone copy -P ~/Documents doc_secret:' --description 'alias docs_backup=rclone copy -P Documents doc_secret:'
+ rclone copy -P ~/Documents doc_secret: $argv
+
+end