
file.txt로 추출해야 합니다(폴더 등이 아님).
이 같은:
unzip test.zip -d >> file.txt
test.zip에는 "x.txt"라는 파일이 포함되어 있습니다. "x.txt"로 압축을 풀고 싶지 않습니다. "file.txt"라는 다른 파일로 직접 보내야 합니다.
답변1
매뉴얼 페이지를 확인하는 것이 좋습니다. --help
깃발 만으로도 필요한 것이 무엇인지 언급되어 있습니다.
unzip -p test.zip > file.txt