python script to identify same file and return to a new folder code example
Example 1: find string in all files powershell
Get-ChildItem -Recurse | Select-String "dummy" -List | Select Path
Example 2: creating a new folder in python
newpath = r'C:\Program Files\arbitrary'
if not os.path.exists(newpath):
os.makedirs(newpath)