takeoutphotosanitizer:uncertain_reclassificatio_workflow_guide
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| takeoutphotosanitizer:uncertain_reclassificatio_workflow_guide [2026/02/23 13:31] – hyjeong | takeoutphotosanitizer:uncertain_reclassificatio_workflow_guide [2026/02/23 15:52] (current) – removed hyjeong | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | < | ||
| - | |||
| - | # \_Uncertain 재분류 절차 가이드 | ||
| - | |||
| - | 생성일: 2026-02-23 04:30:47 | ||
| - | |||
| - | ------------------------------------------------------------------------ | ||
| - | |||
| - | ## 개요 | ||
| - | |||
| - | 이 문서는 `_Uncertain` 폴더에 분류된 파일을 **SHA-256 원본을 변경하지 | ||
| - | 않고 안전하게 재분류하는 절차**를 설명합니다. | ||
| - | |||
| - | 핵심 원칙: | ||
| - | |||
| - | - | ||
| - | - | ||
| - | - | ||
| - | - | ||
| - | |||
| - | ------------------------------------------------------------------------ | ||
| - | |||
| - | # 0단계 -- 운영 폴더 생성 | ||
| - | |||
| - | 다음 폴더를 생성합니다. | ||
| - | |||
| - | PhotoVault_ops\ | ||
| - | PhotoVault_ops`\reclass`{=tex}\ | ||
| - | PhotoVault_ops`\notes`{=tex}\ | ||
| - | |||
| - | 이 폴더에는 운영 및 관리 파일만 저장합니다. | ||
| - | |||
| - | ------------------------------------------------------------------------ | ||
| - | |||
| - | # 1단계 -- \_Uncertain 목록 추출 | ||
| - | |||
| - | 다음 PowerShell 명령을 실행합니다. | ||
| - | |||
| - | ``` powershell | ||
| - | $unc = " | ||
| - | Get-ChildItem $unc -File -Recurse | | ||
| - | Select-Object FullName, Name, Length, LastWriteTime | | ||
| - | Export-Csv " | ||
| - | ``` | ||
| - | |||
| - | 결과 파일: | ||
| - | |||
| - | PhotoVault_ops`\reclass`{=tex}`\uncertain`{=tex}\_review.csv | ||
| - | |||
| - | ------------------------------------------------------------------------ | ||
| - | |||
| - | # 2단계 -- 수동 검토 | ||
| - | |||
| - | 엑셀에서 `uncertain_review.csv`를 열고 다음 열을 추가합니다. | ||
| - | |||
| - | - | ||
| - | - note (판단 근거 메모) | ||
| - | |||
| - | 확신이 있는 파일만 year_final을 채웁니다. | ||
| - | |||
| - | 저장 파일: | ||
| - | |||
| - | PhotoVault_ops`\reclass`{=tex}`\uncertain`{=tex}\_review_done.csv | ||
| - | |||
| - | ------------------------------------------------------------------------ | ||
| - | |||
| - | # 3단계 -- 연도 오버라이드 파일 생성 | ||
| - | |||
| - | 다음 PowerShell 스크립트를 실행합니다. | ||
| - | |||
| - | ``` powershell | ||
| - | $in = " | ||
| - | $out = " | ||
| - | |||
| - | Import-Csv $in | Where-Object { $_.year_final -match ' | ||
| - | ForEach-Object { | ||
| - | $h = (Get-FileHash $_.FullName -Algorithm SHA256).Hash | ||
| - | " | ||
| - | } | Set-Content $out -Encoding UTF8 | ||
| - | ``` | ||
| - | |||
| - | 파일 형식: | ||
| - | |||
| - | sha256`< | ||
| - | |||
| - | 이 파일은 " | ||
| - | |||
| - | ------------------------------------------------------------------------ | ||
| - | |||
| - | # 4단계 -- 실제 파일 이동 | ||
| - | |||
| - | 파일을 해당 연도 폴더로 이동합니다. | ||
| - | |||
| - | ``` powershell | ||
| - | $in = " | ||
| - | $rootMedia = " | ||
| - | $log = " | ||
| - | |||
| - | Import-Csv $in | Where-Object { $_.year_final -match ' | ||
| - | ForEach-Object { | ||
| - | |||
| - | $src = $_.FullName | ||
| - | $yy = $_.year_final | ||
| - | $dstDir = Join-Path $rootMedia $yy | ||
| - | if (!(Test-Path $dstDir)) { New-Item -ItemType Directory -Path $dstDir | Out-Null } | ||
| - | |||
| - | $dst = Join-Path $dstDir $_.Name | ||
| - | |||
| - | if (Test-Path $dst) { | ||
| - | $h8 = (Get-FileHash $src -Algorithm SHA256).Hash.Substring(0, | ||
| - | $dst = Join-Path $dstDir (" | ||
| - | } | ||
| - | |||
| - | Move-Item -LiteralPath $src -Destination $dst | ||
| - | |||
| - | " | ||
| - | Add-Content $log -Encoding UTF8 | ||
| - | } | ||
| - | ``` | ||
| - | |||
| - | 이 과정은 파일 바이트를 변경하지 않으므로 SHA-256은 유지됩니다. | ||
| - | |||
| - | ------------------------------------------------------------------------ | ||
| - | |||
| - | # (선택) 향후 확장을 위한 주석 파일 | ||
| - | |||
| - | 다음 파일을 생성할 수 있습니다. | ||
| - | |||
| - | PhotoVault_ops`\notes`{=tex}`\annotations`{=tex}.tsv | ||
| - | |||
| - | 형식: | ||
| - | |||
| - | sha256`< | ||
| - | |||
| - | 예: | ||
| - | |||
| - | AAA... place Jeju Seongsan 2026-02-23 AAA... people Mom;Dad 2026-02-23 | ||
| - | |||
| - | 이 구조는 향후 앨범, 인물, 장소, 키워드 확장에 사용됩니다. | ||
| - | |||
| - | ------------------------------------------------------------------------ | ||
| - | |||
| - | # 반복 운영 루프 | ||
| - | |||
| - | 1. \_Uncertain 검토 | ||
| - | 2. year_final 입력 | ||
| - | 3. year_override.tsv 생성 | ||
| - | 4. 파일 이동 | ||
| - | 5. \_Uncertain 감소 확인 | ||
| - | 6. 반복 | ||
| - | |||
| - | ------------------------------------------------------------------------ | ||
| - | |||
| - | # 설계 철학 | ||
| - | |||
| - | - | ||
| - | - | ||
| - | - | ||
| - | - | ||
| - | |||
| - | ------------------------------------------------------------------------ | ||
| - | |||
| - | |||
takeoutphotosanitizer/uncertain_reclassificatio_workflow_guide.1771821114.txt.gz · Last modified: by hyjeong
