Commit 1c579af5 authored by platyhouse's avatar platyhouse
parents 043f9507 749c6ecf
......@@ -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