[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Linking Recursively



Hey all,
I'm looking for a utility/script which will travel recursively through a
directory tree and create links from all the files back to a centralized
root directory. Anyone know of anything which will do this? 

#This would be the actual true path to data files
/home/user/base/branch1/data a/branch1 - data a #1 - name1.dat
/home/user/base/branch1/data b/branch1 - data b #1 - name1.dat
/home/user/base/branch2/data a/branch2 - data a #1 - name1.dat
/home/user/base/branch2/data b/branch2 - data b #1 - name1.dat
/home/user/base/branch3/data a/branch3 - data a #1 - name1.dat
/home/user/base/branch3/data b/branch4 - data b #1 - name1.dat


#  This would be the location of the required links.
/home/user/base/all/branch1 - data a #1 - name1.dat 
/home/user/base/all/branch1 - data b #1 - name1.dat
/home/user/base/all/branch2 - data a #1 - name1.dat
/home/user/base/all/branch2 - data b #1 - name1.dat
/home/user/base/all/branch3 - data a #1 - name1.dat
/home/user/base/all/branch3 - data b #1 - name1.dat


Thanks

-Rob



Reply to: