Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.
[macek ~]$ rysnc -av /src /dest

building file list ... file has vanished: "/src/file.ext"

This will not generate error:
[macek /src]$ rm file.ext

Also strange:
[macek /src]$ fi Tab
The path will be auto-completed to file.ext

What is this phenomenon and how to get rid of it?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

A "vanished" file is already deleted. When rsync begins execution is creates a file list. This error means that from the time it built the list of files to transfer, to the time when it was going to copy it, the file was moved or removed and it could not find it. This could be the result of a background indexing process or similar. The rsync FAQ outlines a method to ignore the "vanished files" warning.

share|improve this answer
    
I remember deleting the file in question almost a week ago and I've never done an rysnc before. How was rsync able to see it? –  macek Feb 5 '10 at 18:04
    
@smotch Do you have another file with a similar name? I believe it may also do this if the file is modified during the sync. It shouldn't see deleted files though. If you're positive you've deleted it theres nothing to worry about. You can use the above script to ignore the warnings. –  John T Feb 5 '10 at 20:15
    
No file with similar name; I'll just ignore it :) –  macek Feb 5 '10 at 22:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.