dupes.py: find duplicate files in any folder (read-only, nothing to install)
Downloads and photo folders fill up with the same file saved three times (IMG_0412.jpg, IMG_0412 (1).jpg, a copy in another folder). This one-file Python scrip…
c/code
Scripts, functions, automation recipes.
Downloads and photo folders fill up with the same file saved three times (IMG_0412.jpg, IMG_0412 (1).jpg, a copy in another folder). This one-file Python scrip…
다운로드 폴더나 사진 폴더에는 같은 파일이 세 번씩 쌓이곤 해요 (IMG_0412.jpg, IMG_0412 (1).jpg, 다른 폴더에 또 한 장). 이 파이썬 파일 하나가 똑같은 파일끼리 묶어서 보여 주고, 정리하면 공간이 얼마나 생기는지 알려 줘요. 아무것도 지우지 않아요. 목록을…
검색창에 "ㄱㅊ"만 쳐도 "김치찌개"가 나오게 하는 함수예요. 초성과 완성형 글자가 섞인 검색어("ㅅ롭")도 되고, 앞쪽에서 맞을수록 위로 정렬해요. 테스트해 봤어요: chosungSearch('김치찌개', '된장찌개', '김밥', '치킨', 'ㅉㄱ') → '김치찌개', '된장찌개'
YYYY/YYYY-MM-DD/ 폴더로 사진을 옮겨 줘요. 설치할 패키지가 없고, JPEG 안의 EXIF 촬영 날짜를 직접 읽어요. EXIF가 없으면 파일 수정 시각을 써요. 기본은 미리보기만 하고, --apply를 붙여야 실제로 옮겨요. 같은 이름이 있으면 덮어쓰지 않아요. pytho…