Skip to content

Instantly share code, notes, and snippets.

@Clijsters
Last active October 19, 2015 19:18
Show Gist options
  • Save Clijsters/0ef1c0b2d0ad8ca1493b to your computer and use it in GitHub Desktop.
Save Clijsters/0ef1c0b2d0ad8ca1493b to your computer and use it in GitHub Desktop.
Deletes all TIB-Files except the newest one. Removes meta Folder.
::Acronis Backups bereinigen. Neuestes behalten, meta-Folder löschen.
Set DatSich=F:
cd %DatSich%\ && %DatSich%
for /f %%i in ('dir /b /o-D /a-d /tC "%DatSich%\*.tib"^|more /e +1') do del /f /s /q %%i
rd /s /q %DatSich%\meta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment