Skip to content

Commit

Permalink
Move instead of copy
Browse files Browse the repository at this point in the history
  • Loading branch information
reuteras committed Nov 17, 2023
1 parent 34553a9 commit 78ef127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/install_python_tools.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Remove-Item parseUSBs2.py
Copy-Item $SETUP_PATH\msidump.py .\msidump.py

New-Item -ItemType Directory C:\tmp\rename > $null 2>&1
Get-ChildItem C:\venv\default\Scripts\ -Exclude *.exe,*.py,*.ps1,activate,__pycache__,*.bat | ForEach-Object { Copy-Item $_ C:\tmp\rename }
Get-ChildItem C:\venv\default\Scripts\ -Exclude *.exe,*.py,*.ps1,activate,__pycache__,*.bat | ForEach-Object { Move-Item $_ C:\tmp\rename }
Set-Location C:\tmp\rename
Get-ChildItem | Rename-Item -newname { $_.Name +".py" }
Copy-Item * C:\venv\default\Scripts
Expand Down

0 comments on commit 78ef127

Please sign in to comment.