Making files hidden.

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

Moderator: Mr_Noodle

Making files hidden. Wed Feb 11, 2015 4:38 pm • by rswarr
[url][/url]There's a persistent issue with Dropbox in that it creates "com.attributes.dropbox" files when dropbox is synced with both mac OSX and certain windows drives. This is because the windows drives can't sync the extended attributes being created by OSX. This is a known issue with dropbox - and they aren't doing anything about.

So on to Hazel. I want to make these files hidden. I can use the following terminal command

Code: Select all
chflags hidden *.attributes


This works when I run it in the terminal. I created a hazel rule to automate it and to go through all the subfolders.

My hazel rule looks like this:https://www.dropbox.com/s/3bumr90w8gs8p8z/Screen%20Shot%202015-02-11%20at%203.11.57%20PM.png?dl=0

The rule is successfully going through all the folders, but it isn't making the change. Any suggestions?
rswarr
 
Posts: 1
Joined: Wed Feb 11, 2015 3:44 pm

Re: Making files hidden. Thu Feb 12, 2015 12:35 pm • by Mr_Noodle
You need to use the $1 argument. The way you have it now, you are making assumptions about what the current directory is, which is probably not what you expect.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support