내일은 대한입니다.
sun's longitude:299 08 52.08 
· 자유게시판 · 묻고답하기 · 알파문서 · RPMS list
· 사용자문서 · 팁/FAQ모음 · 리눅스Links · 자료실
· 서버정보 · 운영자 · Books/FAQ · FreeBSD
/board/read.php:소스보기  
알파문서
자주 잊어먹거나, 메모해 둘 필요성이 있는 팁이나 문서, 기타 등등
[*** 쓰기 금지단어 패턴 ***]
글 본문 중간에 업로드할 이미지를 추가하는 방법 : @@이미지이름@@
ex) @@foo.gif@@
280 번 글: [win32] command 용 파일찾기 명령어
글쓴이: 산이 [홈페이지] 글쓴날: 2011년 10월 29일 19:27:12 토(저녁) 조회: 2346
[win32] command 용 파일찾기 명령어

- Windows PowerShell 2.0

Get-ChildItem [[-Path] <string[]>] [[-Filter] <string>] [-Exclude
<string[]>] [-Force] [-Include <string[]>] [-Name] [-Recurse]
[-UseTransaction] [<CommonParameters>]


*사용예)

PS C:\path.to> get-childitem ./ '*검색어*' -recurse -force

*파일로 저장)
PS C:\path.to> get-childitem ./ '*검색어*' -recurse -force > ../result.txt


참고
http://technet.microsoft.com/en-us/library/dd347686.aspx
http://superuser.com/questions/88877/windows-xp-command-to-search-fo
r-files


get-childitem 은 Unix/Linux 의 find 와 비슷한 역할
powershell 의 findstr 는 Unix/Linux 의 find + grep 과 비슷한 역할

 
이전글 : [win32] command 용 파일안 문자열 검색
다음글 : [misc] 항성 적경값으로 개략적인 자정 남중날짜 계산  
 from 211.212.225.115
JS(Redhands)Board 0.4 +@

|글쓰기| |답장쓰기| |수정| |삭제|
|이전글| |다음글| |목록보기|
인쇄용 

apache lighttpd linuxchannel.net 
Copyright 1997-2025. linuxchannel.net. All rights reserved.

Page loading: 0.01(server) + (network) + (browser) seconds