Absolute vs Relative paths

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Absolute vs Relative paths Fri Aug 07, 2020 5:59 pm • by matt!
I just migrated to a new computer (Mac mini) where I have my Users folder on an external drive.

This causes all Hazel rules referencing paths in my user folder to break. They seem to be absolute paths, rather than relative.

It took a short while to go through and fix each one. It would be good if this could be less painful for others.

Cheers! Hazel saves me time every day.
matt!
 
Posts: 14
Joined: Thu Jun 19, 2008 7:41 am
Location: Cornwall, UK

Re: Absolute vs Relative paths Mon Aug 10, 2020 9:58 am • by Mr_Noodle
Are you referring to the folders being monitored or the destination folders of the rules? If the latter, you could have used the relocate folder feature. You can find more details on it in the manual.
Mr_Noodle
Site Admin
 
Posts: 11240
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Absolute vs Relative paths Mon Aug 10, 2020 11:20 am • by matt!
Thanks, good to know about that feature. It was indeed destination folders.

But why is it needed at all for folders within my home folder?

Wouldn't storing relative paths, using ~, for anything in my user folder be a better approach?

Forgive me if I'm missing something obvious.
matt!
 
Posts: 14
Joined: Thu Jun 19, 2008 7:41 am
Location: Cornwall, UK

Re: Absolute vs Relative paths Tue Aug 11, 2020 9:15 am • by Mr_Noodle
It does store relative paths but depending on how the migration was done, it's possible it lost tracking.
Mr_Noodle
Site Admin
 
Posts: 11240
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support