Преглед на файлове

[fish] add push and pull books functions

Colin Powell преди 1 година
родител
ревизия
32711c0d0f
променени са 2 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 3 0
      fish/.config/fish/functions/pullbooks.fish
  2. 3 0
      fish/.config/fish/functions/pushbooks.fish

+ 3 - 0
fish/.config/fish/functions/pullbooks.fish

@@ -0,0 +1,3 @@
+function pullbooks
+	rsync --delete -rvzhP root@atlas.local:/tank/books/ ~/.calibre/
+end

+ 3 - 0
fish/.config/fish/functions/pushbooks.fish

@@ -0,0 +1,3 @@
+function pushbooks
+	rsync --delete -rvzhP ~/.calibre/ root@atlas.local:/tank/books
+end