0
votes
1answer
431 views

Using Mac OS X `at` to schedule a daily task to clear out .Trash folders

How do I use the OS X at command to schedule a daily clean-up of the user's .Trash folder? I'm thinking something along the lines of: rm -rf ~/.Trash/**/* | at 0:00 + 1 day Will this clean the ...
5
votes
1answer
2k views

Two commands to move files to trash. What's the difference?

trash-cli provide a trash command, and gvfs-bin provides a gvfs-trash command that move files / directories to the trash can. Is there an important difference between these two commands?
5
votes
3answers
32k views

Linux: Command to empty recycle bin

What is the shell command to empty the garbage bin under Linux?