Skip to content

Simple Python 3 script to remove all VirtualBox log files for current user

License

Notifications You must be signed in to change notification settings

qbitroot/remove_vbox_log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

🗑️ 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

About

Simple Python 3 script to remove all VirtualBox log files for current user

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages