Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.19 KB

README.md

File metadata and controls

29 lines (21 loc) · 1.19 KB

🗑️ remove_vbox_log

Simple Python 3 script to remove all VirtualBox log files for current user. Usually they are located at home directory where all VMs are stored. Each virtual machine produces log files, up to four.

Example of log files

Installation

To execute a script, you need Python 3 installed. Then clone this repository and go to the downloaded directory:

git clone https://github.com/qbitroot/remove_vbox_log
cd remove_vbox_log

That's it!

Usage

Go to folder where script is located and execute it:

python3 remove_vbox_log.py

Sample output:

Removed /home/user/VirtualBox VMs/Windows/Windows 7 64 bit/Logs/VBox.log.2
Removed /home/user/VirtualBox VMs/Windows/Windows 7 64 bit/Logs/VBox.log
Removed /home/user/VirtualBox VMs/Windows/Windows 7 64 bit/Logs/VBox.log.1
Removed /home/user/VirtualBox VMs/Windows/Windows 7 64 bit/Logs/VBox.log.3
Removed /home/user/VirtualBox VMs/Windows/Windows 10/Logs/VBox.log.2
Removed /home/user/VirtualBox VMs/Windows/Windows 10/Logs/VBox.log
Removed /home/user/VirtualBox VMs/Windows/Windows 10/Logs/VBox.log.1
Removed /home/user/VirtualBox VMs/Windows/Windows 10/Logs/VBox.log.3