-
WindowsOS❤️윈도우에서 러스트 target폴더 하위폴더 검색하기 & 찾은 다음 그 폴더 삭제하기(러스트 나오는 쓰레기target/ C#나오는 쓰레기 obj bin하위 폴더 찾아서 다 지워라 귀찮다!!WindowsOS개발환경/PowerShell 2023. 2. 13. 15:04728x90
우선 target폴더 검색dir .\ -r -i "target"
target폴더 찾아서 지우기(파워셀에서 실행해야함 pwsh.exe)Get-ChildItem -Filter ./target -Recurse -Force | Remove-Item -Recurse -Force
귀찮은 C# bin 폴더 obj 폴더 하위폴더 다 찾아서 다 지워주기 귀찮아 죽겠네 !!!!
Get-ChildItem -Filter ./bin -Recurse -Force | Remove-Item -Recurse -Force && Get-ChildItem -Filter ./obj -Recurse -Force | Remove-Item -Recurse -Force
https://sungtg.tistory.com/m/810[윈도우7] 파일 검색을 간단하게 powershell 로 해보기..
윈도우7의 탐색기를 보면 xp에 있던 검색할 수 있는 메뉴가 없어 진것이 불편 하다고 합니다. 파일이나 폴더가 친숙하지 않은 사용자들은 불편할 것이다. 그동안 xp의 탐색기를 많이 의존을 했을
sungtg.tistory.com
Get-ChildItem
https://stackoverflow.com/questions/3648142/how-can-i-recursively-delete-folder-with-a-specific-name-with-powershellHow can I recursively delete folder with a specific name with PowerShell?
I can delete files with specific extensions in multiple folders with this: Get-childitem * -include *.scc -recurse | remove-item But I also need to delete folders with a specific name - in partic...
stackoverflow.com
내 귀찮은 일을 해주는 kondo 💕👍I love kondo
https://github.com/tbillington/kondo
GitHub - tbillington/kondo: Save space by cleaning non-essential files from software projects.
Save space by cleaning non-essential files from software projects. - GitHub - tbillington/kondo: Save space by cleaning non-essential files from software projects.
github.com
반응형'WindowsOS개발환경 > PowerShell' 카테고리의 다른 글
윈도우 부팅할 때 PowerShell파워셀 스크립트 Script 실행하기 (0) 2023.03.10 pwsh.exe💕명령어 한줄에 동시에 2개 입력하는 방법&& (0) 2023.02.13 파워셀 업데이트 하기powershell update(pwsh.exe 관리자권한으로 들어가서 밑에 그냥 치면 됨. 개편함. 💕 (0) 2023.02.13 Powershell에서 파일 내 문자열 찾기 폴더에서 *.cpp 이렇게 (0) 2023.02.13 WindowsOS💕파워셀 실행명령어pwsh.exe(또는 powershell.exe) (0) 2023.02.08 Powershell 03 IO (2023) (0) 2023.01.25 기초명령어❤️How do you use the Command line? PowerShell, cmd, bash? - (0) 2023.01.24 PowerShell Tutorials❤️which (Get-Command ❤️파워셀명령어) 만들어보자(pwsh.exe)(cmd에서 where cmd.exe이렇게하자 (0) 2023.01.24