# 특정 폴더 찾기
find /Users/user/Library/pnpm -name "my-module" -type d
# type d의 의미
# -type d는 디렉토리(directory)만 찾으라는 옵션입니다.
# -type d: 디렉토리만 찾기
# -type f: 파일만 찾기
# -type l: 심볼릭 링크만 찾기
# 2>/dev/null의 의미
# 2>/dev/null는 에러 메시지를 숨기라는 옵션입니다.
# 2>: 표준 에러(stderr)를 리다이렉트
# /dev/null: 리눅스/맥의 "휴지통" 같은 곳 (아무것도 출력하지 않음)
find /Users/user/Library/pnpm -name "my-module" -type d 2>/dev/null
# /Users/user 폴더부터 시작해서 my-module이라는 이름의 디렉토리만 찾고 에러 메시지는 숨겨서 깔끔하게 결과만 보여줍니다
# 파일 이름을 변경합니다.
# mv <original file> <target file name>
mv functions/httpClient.ts functions/http-client.ts
# 파일 내용을 클립보드에 복사합니다.
cat ~/.zshrc | pbcopy