zooit
✓ Published0🌍 Public
Aandyreagan
Last edited May 27, 2015
Created on May 27, 2015
This example shows a command-line helper called `zooit` that publishes a file to a web server and copies the resulting link to the clipboard. The shell function uses `rsync` to transfer a given file to a remote directory named with the current year and month, then constructs the public URL `andyreagan.com/files/YYYY/MM/filename`. It pipes that URL through `tr` to strip newlines and into `pbcopy` to place it on the macOS clipboard, printing a confirmation message. The visualization here is the textual output and clipboard interaction, not a graphical chart.
AI-generated description