일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- GIT
- Mac
- 네트워크
- Eclipse
- 줄바꿈 문자
- Quartz
- context
- VirtualBox
- netsh
- find
- plugin
- tomcat
- bash
- web.xml
- 단축키
- xargs
- resource
- Windows
- maVen
- grep
- Source
- port
- vscode
- ssh
- IntelliJ
- profile
- JavaScript
- import
- Windows 10
- lsof
- 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 # ----------------------------# 현재 시간이 2024-12-03 11:20:30일 때 각 -mtime 옵션별 조회 범위# 시작 시간: 2024-12-01 00:00:00..