Skip to content

Instantly share code, notes, and snippets.

@kimsama
Created June 3, 2014 04:02
Show Gist options
  • Select an option

  • Save kimsama/d3535f21ee20e2e44809 to your computer and use it in GitHub Desktop.

Select an option

Save kimsama/d3535f21ee20e2e44809 to your computer and use it in GitHub Desktop.
특정 디렉토리 아래의 특정 확장자를 가진 파일을 모두 찾아 이에 대한 처리(command)를 하는 powershell script
>$files = Get-ChildItem -rec -Include *.MESH | ForEach-Object -Process ($_.FullName)
>for( $i=0; $i -lt $files.Count; $i++) {
> [command] $files[$i]
>}
>
>
@kimsama
Copy link
Author

kimsama commented Jun 3, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment