Tags to create aliases/shortcuts/links to current docs

From your noodle to other noodles. Talk about ways to get the most from Hazel. Even exchange recipes for the cool rules you've thought up. DO NOT POST YOUR QUESTIONS HERE.

Moderators: Mr_Noodle, Moderators

I keep most of my documents in an organised file structure (managed by "Together 3") but like to have shortcuts on the desktop to documents that I'm currently working on.

I've taken to tagging these as "WIP" (work in progress) using mavericks tags and have just created two nice rules to:

1. Create shortcuts from any file tagged WIP to the desktop.
2. Delete any shortcuts on the desktop that aren't tagged WIP.

I don't usually have anything else on my desktop and I rarely have more than a handful of docs I'm working on at any one time.

The embedded bash script I use for creating the "aliases" (symbolic links!) is:

SRC=$1
DST=~/Desktop/`echo $1 | sed -e 's/.*\///g'`
if ! [ -e "$DST" ]
then
ln -s "$SRC" "$DST"
fi
psidnell
 
Posts: 5
Joined: Sun Apr 14, 2013 3:04 am

Return to Tips & Tricks - DO NOT POST QUESTIONS