2
cp 명령으로 복사 한 디렉토리가 원본보다 작은 이유는 무엇입니까?
많은 파일을 가진 하나의 디렉토리를 다른 대상으로 복사하려고합니다. 나는했다 : cp -r src_dir another_destination/ 그런 다음 대상 디렉토리의 크기가 원래 디렉토리의 크기와 동일한 지 확인하고 싶습니다. du -s src_dir 3782288 src_dir du -s another_destination/src_dir 3502320 another_destination/src_dir 그런 다음 cp명령이 따르지 않고 몇 가지 기호 링크가있을 수 있다고 생각 하고 -a플래그를 …
18
command-line
mac
cp
du