commit acb7d0283ab38084798d3b05a638224de5d2965b Author: mrgrouse <bdmfegys@duck.com> Date: Mon, 13 May 2024 00:13:39 -0400 create wall.sh Diffstat:
| A | wall.sh | | | 14 | ++++++++++++++ |
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/wall.sh b/wall.sh @@ -0,0 +1,14 @@ +#!/bin/sh +case $1 in + push) + rsync -urv $HOME/Pictures/ mrgrouse.com:Pictures + ;; + pull) + rsync -urv mrgrouse.com:Pictures/ $HOME/Pictures + ;; + *) + echo "Not a real argument :clown_face:" + echo "\t pull - pulls & updates the local files" + echo "\t push - copies local to server" + ;; +esac