From: Daniel Berger Date: 2007-04-27T23:45:08+09:00 Subject: Re: File#size and File#size? follow links? On Apr 27, 7:57 am, John Joyce wrote: > Do File#size and File#size? follow links? > It would certainly appear to be so, but docs don't say. > Don't symlinks have a size of some sort of their own? > Kind of confused by this. (Hard links are a bit more of a mind-bender > at times. I'm afraid to create or use them for fear of black holes. ) Yes, it follows links. If you want to report on the size of the link itself, use File.lstat('link').size. Regards, Dan