Загрузка данных



18
cd ~/pr8
cp -a source backup/source_backup
rsync -a source/ backup/source_rsync/
ls -l backup/source_backup
du -sh source
du -sh backup
du -sh backup/source_backup
19
sha256sum source/file1.txt backup/source_backup/file1.txt
sha256sum source/bigfile.bin backup/source_backup/bigfile.bin
sha256sum source/small_files/file_250.txt backup/source_backup/small_files/file_250.txt
cmp source/file1.txt backup/source_backup/file1.txt
cmp source/bigfile.bin backup/source_backup/bigfile.bin
cmp source/small_files/file_250.txt backup/source_backup/small_files/file_250.txt
20
mkdir test20
dd if=/dev/zero of=test20/test200.bin bs=1M count=200 status=progress
ls -lh test20/test200.bin
time cp test20/test200.bin test20/copy200.bin
rm test20/copy200.bin
time cp test20/test200.bin test20/copy200.bin
sha256sum test20/test200.bin
sha256sum test20/copy200.bin
df -h ~