일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
- VirtualBox
- grep
- 단축키
- Windows 10
- tomcat
- find
- context
- xargs
- maVen
- port
- IntelliJ
- netsh
- copy-dependencies
- DB 도메인
- Eclipse
- Quartz
- JavaScript
- lsof
- GIT
- 네트워크
- 공통표준용어
- web.xml
- import
- ssh
- profile
- Windows
- resource
- bash
- Mac
- Source
- Today
- Total
목록2024/04/05 (4)
develog
git clone -b dev git@github:user01/my-repository git clone --branch dev git@github:user01/my-repository
sshpass 설치 brew install sshpass sshpass 사용 sshpass -p ssh root@REMOTE_HOST # 비밀번호 입력시 싱글 따옴표 사용 sshpass -p 'pass123!' ssh root@192.168.56.200
prune 사용## admin/uploads 가 포함된 경로는 제외하고 나머지 경로만 출력한다find admin -path 'admin/uploads/*' -prune -o -print find admin \( \ -path 'admin/uploads*' -prune -o \ -path 'admin/common*' -prune -o \ -path 'admin/ckeditor*' -prune \ \) \ -o -print -not -path 사용find . -name '*.xml' -not -path './vendor/*'
find -mtime 사용하기 -mtime +3 | -mtime 3 | -mtime -3 | 현재 find . -mtime -3 : 수정일이 3일전 부터 ~ 현재 까지 find . -mtime 3 : 수정일이 4일전 부터 ~ 3일전 까지 find . -mtime +3 : 수정일이 이전 부터 ~ 4일전 까지 정확히 3일 전에 수정된 파일 찾기 find . -mtime 3 3일 보다 더 오래전에 수정된 파일 찾기 find . -mtime +3 최근 3일 이내에 수정된 파일 찾기 find . -mtime -3 수정일이 1일 전인 파일을 검색하고 가장 최근에 수정한 파일을 마지막에 출력 # mac # 날짜 포멧팅 => -D "%F %T" # 6번째 컬럼 정렬 => sort -k6 find . -type f -m..