All Questions
2
questions
19
votes
2
answers
5k
views
Why is a directory copied with the cp command smaller than the original?
I am tying to copy one directory with a large number of files to another destination. I did:
cp -r src_dir another_destination/
Then I wanted to confirm that the size of the destination directory is ...
5
votes
1
answer
2k
views
Why does du -sl show different sizes for the source and result of a cp -rl?
I have used cp -rl to copy a folder. When measuring the size of the source and of the result of the copy du -sl returns slightly different sizes, even though diff confirms that their content are ...