Due to copying some files from Linux to Windows XP and then to Linux again, the metadata or whatever that turns some files into a symbolic link has been lost.
So for example I have a file called "example" which should be a symbolic link to '../example2' but instead is now just a text file saying '../example2'.
Is there a way of making these files back into the correct links again automatically, or will I have to go through each one with an ln command?