Below are the instructions that I need to carry out:
1. Navigate to the Symantec AntiVirus virus definitions directory (default location is: `/opt/Symantec/virusdefs`) in the terminal.
2. Remove any `*.tmp` or `temp` files or folders.
3. Remove any numbered folders.
4. Ensure that the 3 remaining folders are empty. If they are not empty, empty them.
- `binhub` (expected to be full).
- `incoming` (usually empty, if it's not, this may be an indication of what is wrong).
- `texthub` (also usually empty).
Question #1: What specific commands must I issue to remove the tmp
or temp
files/folders?
Question #2: What specific commands must I issue to empty binhub
, incoming
and texthub
?
Question #3: I noticed that if I click on the Home Folder icon on the Launcher, then click File System, navigate to the destination foler, I can see the tmp
, temp
and numbered folders. Can I right click on each of them and choose “Move to Trash”? Is this method equivalent to your answer to Question #1?
As always, detailed explanations are welcome for newbies like me.
UPDATE #1:
In answer to my own Question #3: the method doesn't work as
(a) There is no "Move to Trash" option after right-clicking the folder. The folders contain many files.
(b) All the folders named in the preceding paragraph need root permission.
(c) Conclusion: no choice but to remove non-empty folders using a Terminal window with the following command:
sudo rmdir -rfv <foldername>
The above command successfully remove all the non-empty folders.
UPDATE #2:
I am stuck at emptying folders, viz. definfo.dat and usage.dat. Please see below:
sharon@sharon:/opt/Symantec/virusdefs$ sudo echo > definfo.dat
bash: definfo.dat: Permission denied
sharon@sharon:/opt/Symantec/virusdefs$ sudo echo > usage.dat
bash: usage.dat: Permission denied
sharon@sharon:/opt/Symantec/virusdefs$ sudo cat
[sudo] password for sharon:
Edit
button.