tar 인수명단이 너무 김
작성일 21-05-31 14:34
페이지 정보
작성자 최고관리자 조회 5,987회 댓글 0건본문
tar 인수명단이 너무 김
/bin/tar: Argument list too long
2007-07-06
If you find yourself stuck with over 30,000 files in a directory (text files in this example), packing them into a tar file can be tricky. You can get around it with this:
find . -name '*.txt' -print >/tmp/test.manifest
tar -cvzf textfiles.tar.gz --files-from /tmp/test.manifest
find . -name '*.txt' | xargs rm -v
https://major.io/2007/07/05/bintar-argument-list-too-long/
/bin/tar: Argument list too long
2007-07-06
If you find yourself stuck with over 30,000 files in a directory (text files in this example), packing them into a tar file can be tricky. You can get around it with this:
find . -name '*.txt' -print >/tmp/test.manifest
tar -cvzf textfiles.tar.gz --files-from /tmp/test.manifest
find . -name '*.txt' | xargs rm -v
https://major.io/2007/07/05/bintar-argument-list-too-long/
추천78
관련링크
댓글목록
등록된 댓글이 없습니다.