Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 618 Bytes

File metadata and controls

19 lines (12 loc) · 618 Bytes

xclean.sh

./xclean.sh target

Deletes all the prevoius .vti files stored in the data subdirectories from the target, just keeping the last .vti file. It crawls over the subdirectories inside the specified folder. Also it asks for deletion confirmation to avoid undesired loss of data.

./xclean.sh .

Example of usage of the auto cleaner

P.D. Remember it is a good practice to make periodic backup for any vital data ;)

Another example, of targeting not the current directory, but a subfolder:

Example subdirectories