Incomplete files with aborted cp commands?

Doug Wyatt dwyatt at sunflower.com
Sun Oct 21 20:05:49 UTC 2007


Paul Smith wrote:
> Dear All,
> 
> If one executes the following command
> 
> cp -a * /some/directory
> 
> and in the middle one uses Control*C to interrupt it, is there danger
> of getting some incomplete files in the destination directory?
> 
> Thanks in advance,
> 
> Paul
> 

Wondering why you would ask instead of trying it yourself,
I verified my expectation in 30 seconds.

The answer is emphatically, *YES*!  It is not a 'danger',
it is a probability approaching certainty.




More information about the users mailing list