Skip to content

PowerShell script for removing files in folder and if chosen subfolders based on pattern

Notifications You must be signed in to change notification settings

arjansturing/Remover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Remover.ps1

By: Arjan Sturing

PowerShell script for removing files in folder and if chosen subfolders based on pattern Use this script at your own risk!

Usage is as follows:

  • Start script
  • Choose directory
  • Enter pattern by example: - Copy for files with - Copy in filename or *.txt for al .txt files
  • Choose the amount of days for the maximum age of the files
  • Choose if you want to delete files in subfolders
  • Check the list of found files
  • Choose if you want to delete the files mentioned on the list

Automate the World #PowerShell

About

PowerShell script for removing files in folder and if chosen subfolders based on pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published