Dereferencing links

Jim Kuzdrall gnhlug at intrel.com
Fri Apr 8 10:51:01 EDT 2005


    Is there a command line function to collapse a group of symbolic 
links, replacing them with the files they reference?

    I tried: (cd /dir1 ; tar cf - .) | (cd /dir2 ; tar xf -)

    But, it copied the files as links.  It is not too hard to write a 
script to do it, but all too often I discover something already exists.

Jim Kuzdrall

     



More information about the gnhlug-discuss mailing list