Re: Incomplete files with aborted cp commands?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 21 October 2007 20:50, 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

Personally I havn't found any problem with that. I'm on dialup, and regularly 
interrupt an apt-get dist-upgrade using ctrl +c. I do this if I want to 
download e-mail, or view a couple of webpages, as apt-get tends to hog the 
bandwidth. I then re-run apt-get dist-upgrade, and it continues from where it 
left off. I'm amazed how it does this, but it doesn't lose one bit.

I'm not sure about interrupting a cp command though. I'll have to try that 
with a big file, and see how it goes.

Nigel.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux