Commit 8f2e4f41 authored by platyhouse's avatar platyhouse

# 파일 검색 도구 파일명 변경 및 기본 검색 모드 개선

## 파일명 변경
- **ptyFileFind → ptyFindFile**: 파일 검색 도구 파일명 변경

## 검색 모드 개선
- **ptyFindFile**:
  - 검색 모드 미지정 시 기본값 설정 (pattern 모드)
  - 검색 모드 미지정 시 오류 메시지 제거
  - pattern 모드 설명 추가 ("파일명 패턴 매칭")
parent 2ccd6345
......@@ -187,11 +187,9 @@ while [[ $# -gt 0 ]]; do
esac
done
# 검색 모드가 지정되지 않은 경우
# 검색 모드가 지정되지 않은 경우 기본 검색 모드로 설정
if [ -z "$SEARCH_MODE" ]; then
echo "오류: 검색 조건을 지정해야 합니다."
echo ""
show_usage
SEARCH_MODE="pattern"
fi
# 검색 경로 확인
......@@ -240,6 +238,9 @@ fi
# 검색 조건 설정
SEARCH_DESC=""
case $SEARCH_MODE in
pattern)
SEARCH_DESC="파일명 패턴 매칭"
;;
old)
if [ -n "$DAYS" ] && [ -n "$HOURS" ]; then
echo "오류: -d와 -h 옵션은 동시에 사용할 수 없습니다."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment