I am having recurring "styles" folder inside my trash and when I try to delete it, it is showing "the operation cannot be completed because the item "styles" is in use! Is this a virus?
-
What is the root folder inside trash that all these styles folders are located in? – At0mic Aug 31 '16 at 3:44
-
@IronCraftMan it starts with "styles" ....... not sure how it ends ..... downloaded clamxav and scanning now – Anoop D Aug 31 '16 at 4:57
This answer by Matthieu Riegler suggests the following when dealing with a Trash that won't empty (this does not, however, address WHAT the files are or whether they are malicious):
When you have problems to empty the trash, rm -rf ~/.Trash/*
in the terminal does the job for you.
You have to keep in mind that there might be multiple .Trash directories.
For example on a USB stick or a external Drive, OSX will create another .Trash at the root of the drive. So you might need to use rm -rf /Volumes/DriveName/.Trash.*