123456789101112131415161718$homeDir = C:\home $items = New-Object System.Collections.ArrayList$items.Add($homeDir) $dirs = Get-ChildItem -Path $homeDir -Recurse | ?{ $_.PSIsContainer } | Select-Object FullNameforeach ($dir in $dirs) { $items.Add($dir.FullName)} $files = Get-ChildItem -Path $homeDir -Recurse | Select-Object DirectoryName,Name | where { $_.DirectoryName -ne $NULL }foreach ($file i..
1234567891011121314151617181920212223242526272829303132333435 function recurse_copy($src,$dst,$overwrite=TRUE) { $dir = opendir($src); @mkdir($dst); while(false !== ( $file = readdir($dir)) ) { if (( $file != '.' ) && ( $file != '..' )) { if ( is_dir($src . '/' . $file) ) { recurse_copy($src . '/' . $file,$dst . '/' . $file, $overwrite); } else { if($overwrite) { copy($src . '/' . $file,$dst . '..
- Total
- Today
- Yesterday
- File
- engineering
- apache
- example
- RESTful
- client
- 이슈처리
- Module
- 예제
- monitoring
- code
- httpd
- 명령어
- 코드
- PowerShell
- deview
- Windows
- MariaDB
- 번역
- check
- Python
- limits
- Web
- error
- configuration
- command
- mysql
- Linux
- 외부링크
- Ansible
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |