데이터 처리 결과에 대한 모니터링시 매우 필요함
- 최근 변경 데이터 확인
https://ponyozzang.tistory.com/256
Linux 변경일이 가장 최근인 파일 또는 가장 오래된 파일 정렬 찾기
리눅스에서 파일을 보여주는 커맨드인 ls와 |(파이프)를 조합하면 여러 가지 기능을 사용할 수 있습니다. ●변경일이 가장 최신인 파일 정렬 찾기 ls -ltr | tail -1 설명 ls -l은 상세 표시. ls -t는 변
ponyozzang.tistory.com
- 빈 디렉토리 찾아서 지우기
https://blog.asamaru.net/2016/11/15/linux-find-empty-directory-and-delete/
리눅스에서 모든 빈 디렉토리 찾기 / 지우기
리눅스에서 지정한 디렉토리 하위의 모든 빈 디렉토리를 찾거나 지우려면 어떻게 하면 될까? find 명령을 사용하면 아주 간단히 해결할 수 있다. find . -empty -type d -delete -print 위 명령을 사용하면
blog.asamaru.net
- 특정 폴더를 가지고 있거나, 갖고 있지 않은 폴더 찾아서 지우기 ( '!'은 -not 옵션과 같다 )
https://unix.stackexchange.com/questions/167823/finds-exec-rm-vs-delete
find's "-exec rm {} \;" vs "-delete"
I'm trying to understand the difference between these two commands: sudo find / -name .DS_Store -delete and sudo find / -name ".DS_Store" -exec rm {} \; I noticed that the -exec ... {} ...
unix.stackexchange.com
- 정규표현식으로 찾기
https://www.baeldung.com/linux/find-command-regex
Linux Find Command With Regular Expressions | Baeldung on Linux
In this tutorial, we'll talk about the use of the command find with regular expressions (regex).
www.baeldung.com
- 특정 디렉토리/파일을 포함하지 않는 디렉토리를 찾는 법
https://serverfault.com/questions/122074/find-directories-that-do-not-contain-a-directory
Find directories that do not contain a directory?
I'm trying to figure out how to use the linux "find" command (or another command that will get the job done) to return a list of file paths/directories that do not contain a directory of a certain ...
serverfault.com