tar cf - . | ( cd /target-dir/ ; tar xf - )
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install --disablerepo="*" --enablerepo="epel" pv
tar cf - . | pv | ( cd /target-dir/ ; tar xf - )
'서버 | OS > Linux - Shell Script' 카테고리의 다른 글
Send e-mail with attachment in shell environment. (0) | 2024.02.01 |
---|---|
쉘스크립트의 명령행 인자를 파싱하는 방법 (0) | 2023.10.05 |
쉘 환경변수에 행 단위로 텍스트 저장/불러오기. (0) | 2023.10.05 |
한줄로 tar + gzip 압축 진행상태 모니터링 (0) | 2023.09.09 |