Where is the Trash-Folder

Talk, speculate, discuss, pontificate. As long as it pertains to Hazel.

Moderators: Mr_Noodle, Moderators

Where is the Trash-Folder Fri Jul 03, 2020 10:30 am • by Momolino
In order to automatically delete files from my download folder I am searching for the Trash folder. In previous versions there was a kind of "move to trash" ready order (as far as I remember. But now these orders in my rules do not work anymore.
Anybody with an idea? Thank you!
Momolino
 
Posts: 8
Joined: Sat Feb 20, 2016 4:57 pm

Re: Where is the Trash-Folder Mon Jul 06, 2020 10:42 am • by Mr_Noodle
If you use the "Move" action, "Trash" is one of the destinations.
Mr_Noodle
Site Admin
 
Posts: 11193
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Where is the Trash-Folder Wed May 12, 2021 9:42 am • by tuskenr
Mr_Noodle wrote:If you use the "Move" action, "Trash" is one of the destinations.


Not working :( "Trash" is greyed
tuskenr
 
Posts: 4
Joined: Sun May 10, 2015 5:51 am

Re: Where is the Trash-Folder Wed May 12, 2021 10:19 am • by Mr_Noodle
That implies a problem with your trash. Are you comfortable using the commandline?
Mr_Noodle
Site Admin
 
Posts: 11193
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Where is the Trash-Folder Thu May 13, 2021 12:41 pm • by tuskenr
Mr_Noodle wrote:That implies a problem with your trash. Are you comfortable using the commandline?

Yes - please help :)
tuskenr
 
Posts: 4
Joined: Sun May 10, 2015 5:51 am

Re: Where is the Trash-Folder Fri May 14, 2021 10:21 am • by Mr_Noodle
Post the output of this:
Code: Select all
   ls -ld ~/.Trash
Mr_Noodle
Site Admin
 
Posts: 11193
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Where is the Trash-Folder Sun May 16, 2021 10:19 am • by tuskenr
xxx@iMac5K ~ % ls -ld ~/.Trash
---------- 1 xxx staff 0 29 lis 19:53 /Users/xxx/.Trash
tuskenr
 
Posts: 4
Joined: Sun May 10, 2015 5:51 am

Re: Where is the Trash-Folder Mon May 17, 2021 10:56 am • by Mr_Noodle
Thanks. Looks like a file named .Trash was put there instead of a folder. Try the following sequence:

Code: Select all
    rm ~/.Trash

    mkdir ~/.Trash

    chmod 700 ~/Trash


Reboot just in case and report back if you still have problems.
Mr_Noodle
Site Admin
 
Posts: 11193
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Where is the Trash-Folder Mon May 17, 2021 1:15 pm • by tuskenr
Thank you, it's working now :)

Additionally I had to give the Terminal.app Full Disk permissions in the security settings.
tuskenr
 
Posts: 4
Joined: Sun May 10, 2015 5:51 am


Return to Open Discussion