잡동사니 블로그
현재 디렉토리에서 하위 디렉토리까지 ipynb_checkpoints 지우기 본문
보통 git으로 버전 관리 하기 때문에 gitignore만 편집하면 되는편이지만
폴더 공유할 때 남아있는거 지우기 위한 용도
#현재 디렉토리에서 하위 디렉토리 까지의 .ipynb_checkpoints 지울 파일들 학인
!find . -type d -name ".ipynb_checkpoints" -exec echo {} \;
#현재 디렉토리에서 하위 디렉토리 까지의 .ipynb_checkpoints 삭제
!find . -type d -name ".ipynb_checkpoints" -exec rm -rf {} +
맨날 치기 귀찮아서 그런거 맞음.
'공부용' 카테고리의 다른 글
OpenCV로 이미지 경계 강조하기 → 침식(Erode)과 팽창(Dilate) (0) | 2025.02.07 |
---|---|
Gradient Accumulation (0) | 2025.01.01 |
[논문 읽기] SAM 2: Segment Anything in Images and Videos (3) | 2024.10.29 |
Kmedoids clustering (3) | 2024.10.16 |
Dice Coefficient(Dice Score) -> Dice Loss Function (1) | 2024.10.09 |