On 11/10/2012 10:53 PM, Dmitry Bogatov wrote:
Hello! I have idea about adding functionality of moving file and adding
symbolic link at previous place, that links to new place.
What your opinion, would it be useful? For me, it would be quick way to
move configuration file into VCS directory.
I think I am able to code it.
So this is like `cp -s` but linking in the opposite direction.
I can kind of see the appeal of the symmetry, but I'm not sure.
Might you get more control with something like:
mv $file $dir/ && ln -sr $dir/$file .
cheers,
Pádraig.