Page 1 of 1

Removing hidden Microsoft backup files

PostPosted: Wed Nov 03, 2021 1:57 am
by luomat
I just found this file in my ~/Downloads/ folder.

Code: Select all
'~$rsonnel Meeting October 12, 2021.docx'


it seems to be some kind of useless file created by Microsoft Word.

I want Hazel to trash any files like this in the future, so I tried to make a rule for any file which "begins with"
Code: Select all
~$


But it does not seem to match.

I made my own file using `touch` and that file was moved successfully, so I am wondering if Hazel ignores these files on purpose if they come from Mirosoft? I'm very confused

Re: Removing hidden Microsoft backup files

PostPosted: Wed Nov 03, 2021 9:38 am
by Mr_Noodle
Are the files visible in Finder normally?

Re: Removing hidden Microsoft backup files

PostPosted: Thu Nov 04, 2021 5:48 pm
by luomat
No they are somehow "hidden" in Finder, but I saw them in a terminal window when I did `ls`

Re: Removing hidden Microsoft backup files

PostPosted: Fri Nov 05, 2021 9:41 am
by Mr_Noodle
Check out this article: viewtopic.php?f=3&t=415

In particular, the ScanInvisibles default will allow you to have Hazel process files that are normally invisible.