Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- mkdir source_dir
- pushd source_dir
- dd if=/dev/zero of=source bs=600K count=1
- for i in `seq 1 11500`;
- do
- cp -v source file_$i;
- done
- rm source
- for i in `seq 1 10`;
- do
- dd if=/dev/zero of=file_large_$i bs=200M count=1
- done
- popd
- echo "Created 11500 files with size 600K and 10 files with size 200M, try the following command:"
- echo "rsync -avvvz --delete source_dir target_dir"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement