Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
[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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .