소스 검색

[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