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

Re: Symlink farming to keep a list of new data



* Colin Watson (cjwatson@debian.org) spake thusly:
> On Wed, Feb 20, 2002 at 01:41:40AM -0800, Paul 'Baloo' Johnson wrote:
> > Is there a script in existance that would search for changes among a
> > tree structure, symlink all the new files, and removes any old symlinks?
> 
> It's not normally used for quite this purpose, but can you persuade
> 'stow' to do what you want?

If it's only files (no subdirectories), stow -D (unstow), followed 
by normal stow run should do that. It won't work if the tree itself
changes (new/deleted subdirs), and of course it doesn't check for any
changes -- it simply symlinks everything.

Dima
-- 
Well, lusers are technically human.                            -- Red Drag Diva



Reply to: