On Tue, 29 Mar 2011, Jay Hacker wrote:
Hans,That is a great idea. However, can I be sure the file is completely written to disk before tar prints the filename?
You will tell us. Write a script which handle the job. Let it start like this: #!/bin/bash S1=$( stat -c %s $1 ) sleep 1 S2=$( stat -c %s $1 ) if [ $S1 != $S2 ]; then echo "Error, race condition. File not written. $S1 $S2" exit 1 fi /hans -- Horsebakken 78, DK-2400 København NV
