aboutsummaryrefslogtreecommitdiffstats
path: root/fish2024/functions
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-02-18 16:32:11 +0000
committerMatthew Lemon <y@yulqen.org>2024-02-18 16:32:11 +0000
commit16e468463a2b0684e2f58f9e6af1468ff884d6e0 (patch)
tree6f6cab7707dc681d2cf6aefb827054550c4e1c4d /fish2024/functions
parentc366f6823d5a423bdc25e9401108cb2a53878624 (diff)
Adds docs_backup alias - rclone Docs to backup
Diffstat (limited to 'fish2024/functions')
-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