0
사용자가 입력한 디렉토리 경로와 사용량 임계값을 바탕으로 터미널에서 직접 실행 가능한 Shell 스크립트를 자동 생성하고, 디렉토리 내 하위 항목의 디스크 사용량을 집계하여 임계값을 초과하는 대용량 파일 및 디렉토리 정보를 출력합니다.
복사
Based on the provided target directory path and disk usage threshold, output a complete Shell script that can run directly in a Linux terminal. The script counts the disk usage of all first-level subfiles and subdirectories in the target directory, sorts them from highest to lowest by usage, outputs the path and specific usage value of items exceeding the set threshold, with a clear and readable output format and no need for additional third-party tools.
복사
사용자가 제공한 대상 디렉토리 경로와 디스크 사용량 임계값을 바탕으로 Linux 터미널에서 직접 실행할 수 있는 완전한 Shell 스크립트를 생성합니다. 이 스크립트는 대상 디렉토리 내 모든 1단계 하위 파일 및 하위 디렉토리의 디스크 사용량 크기를 집계하고 사용량이 높은 순으로 정렬한 뒤 설정된 임계값을 초과하는 항목의 경로와 구체적인 사용량 값을 출력합니다. 출력 형식은 명확하고 읽기 쉬우며 추가적인 서드파티 도구에 대한 의존성이 필요하지 않습니다.
복사
추천





집
