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
- RESTful
- Ansible
- limits
- error
- mysql
- apache
- PowerShell
- deview
- Linux
- check
- Module
- client
- command
- 예제
- example
- 이슈처리
- code
- Windows
- File
- MariaDB
- httpd
- Web
- configuration
- 코드
- monitoring
- engineering
- 번역
- Python
- 외부링크
- 명령어
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |