## 2 pico.sh + prose.sh + ... ### 3 domains https://eog.pastes.sh https://eog.prose.sh https://eog.pgs.sh ### 3 requirements ```bash eval $(ssh-agent) ssh-add +HOME+.ssh+id_ed255 cd /run/userdia/mabox/0500psspt/www..pico.sh..var.www/ ``` ### 3 dashboard ```bash ssh pico.sh ``` ### 3 pages w/ projects ```bash ssh pgs.sh help rsync -rv www..pico.sh..var.www/dir/ pgs.sh:tst # eog-tst.pgs.sh rsync -rv www..pico.sh..var.www/dir/ pgs.sh:/tst # eog-tst.pgs.sh ssh pgs.sh ls # list projects ``` **THE subdomain 'user.pgs.sh'** https://pico.sh/pgs#reserved-user ```bash rsync -rv ./dir/ pgs.sh:user rsync -rv ./dir/ user@pgs.sh:/user ``` **view projects** ```bash ssh pgs.sh ls # list projects ssh pgs.sh fzf $_project # list content of projects ``` ### 3 pipe : chatting ```bash ssh pipe.pico.sh pipe chat # on local AND remote ``` . 2 Rsync w/ links but NOT copying these files ------------------------------------------------------------------------ | Flag | Meaning | Effect | | --------------------- | --------------------------------- | ----------------------------------------------- | | `-L` / `--copy-links` | Dereference | Replaces link with file; fails if file excluded | | `--copy-unsafe-links` | Only copy safe ones | Skips links outside tree | | `--safe-links` | Don’t copy links pointing outside | Skips many absolute links | | `--no-links` | Don’t copy links | Obviously drops symlinks | `--links` # default in -a remove /storage/static-e1b9045b-d89a-4dbb-8a90-addcee48aac4/prose: directory not empty This is exactly what `--delete` is supposed to do — it’s just catastrophically dangerous when the source list is incomplete. ✔ Golden Rule: NEVER run `--delete` with shell globs (foo*, *.md, etc.) You must always give rsync a directory as the source. ✔ Correct + safe way to do “only sync foo*, and delete remote foo* not local” We need to: . sync only files matching foo* . delete remote foo* that don’t exist locally . NOT delete unrelated files The safe way is to use filters, not shell globs. ! Correct method: use `--include` / `--exclude` filters