Skip to content

Commit

Permalink
osz 제거 옵션 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
thftgr committed Sep 3, 2023
1 parent 1a626a9 commit 41dae4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions script.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# 파생 파일 일괄 삭제
find ./* -maxdepth 1 -type f \( -name '*nv*' -o -name '*nh*' -o -name '*ns*' -o -name '*nb*' \) -exec rm -f {} +

# 파생 파일 검색
find ./* -maxdepth 1 -type f \( -name '*nv*' -o -name '*nh*' -o -name '*ns*' -o -name '*nb*' \)

# 파생 파일중 포함된것만 삭제
find ./* -maxdepth 1 -type f -name '*nv*' -exec rm -f {} +
find ./* -maxdepth 1 -type f -name '*nh*' -exec rm -f {} +
find ./* -maxdepth 1 -type f -name '*ns*' -exec rm -f {} +
Expand Down

0 comments on commit 41dae4a

Please sign in to comment.