Procedure to Successfully Copy Files
Using Unix
1. Choose the copy method
- cp -rp --> good for local file systems
- rcp -rp --> links are problem
- tar copy --> files > 2GB are a problem
- Tar Push
- Remote Tar Push
- Tar Pull
- Remote Tar Pull
2. Verifying that the copy was successful
- Verify that the destination size is similar (it won't necessarily
be exact) to the source size
- Verify that the same number of files exist in both places
- find /<path> -type f -print | wc -l
- Verify that the same number of directories exist in both places
- find /<path> -type d -print | wc -l
- Verify that the same number of links exist in both places
- find /<path> -type l -print | wc -l
- Verify that the proper ownership and permissions exist