[Top][All Lists]

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

Re: [feature-propsal] mv && leaving symlink behind

From: Pádraig Brady
Subject: Re: [feature-propsal] mv && leaving symlink behind
Date: Mon, 12 Nov 2012 01:48:17 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

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 .


reply via email to

[Prev in Thread] Current Thread [Next in Thread]