From 32711c0d0f5bfcc4f9193d92ca9900dc0df31bc3 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Sat, 13 Jan 2024 13:48:25 -0500 Subject: [PATCH] [fish] add push and pull books functions --- fish/.config/fish/functions/pullbooks.fish | 3 +++ fish/.config/fish/functions/pushbooks.fish | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 fish/.config/fish/functions/pullbooks.fish create mode 100644 fish/.config/fish/functions/pushbooks.fish diff --git a/fish/.config/fish/functions/pullbooks.fish b/fish/.config/fish/functions/pullbooks.fish new file mode 100644 index 0000000..27a778b --- /dev/null +++ b/fish/.config/fish/functions/pullbooks.fish @@ -0,0 +1,3 @@ +function pullbooks + rsync --delete -rvzhP root@atlas.local:/tank/books/ ~/.calibre/ +end diff --git a/fish/.config/fish/functions/pushbooks.fish b/fish/.config/fish/functions/pushbooks.fish new file mode 100644 index 0000000..b4f095c --- /dev/null +++ b/fish/.config/fish/functions/pushbooks.fish @@ -0,0 +1,3 @@ +function pushbooks + rsync --delete -rvzhP ~/.calibre/ root@atlas.local:/tank/books +end