[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for "mv -s" option
From: |
Paul Jarc |
Subject: |
Re: Patch for "mv -s" option |
Date: |
Fri, 19 Nov 2004 13:18:28 -0500 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
Brendan Byrd/SineSwiper <address@hidden> wrote:
> address@hidden:~/tmp/a> mv -s b/f .
> mv: `b/f': can make relative symbolic links only in current directory
Does "mv -s b/f b/.." work? If not, I'd think that case (where the
destination starts with all the same path components as the source
file, up to the source's basename) could be made to work without too
much extra effort. It would be equivalent to:
cd "$(dirname "$1")" && mv -s "$(basename "$1")" "${$2/$(dirname "$1")/}"
paul
- Re: Patch for "mv -s" option, (continued)
- Re: Patch for "mv -s" option, Brendan Byrd/SineSwiper, 2004/11/08
- Re: Patch for "mv -s" option, Paul Eggert, 2004/11/08
- Re: Patch for "mv -s" option, Paul Eggert, 2004/11/08
- Re: Patch for "mv -s" option, Jim Meyering, 2004/11/08
- Re: Patch for "mv -s" option, Paul Eggert, 2004/11/08
- Re: Patch for "mv -s" option, Jim Meyering, 2004/11/09
- Re: Patch for "mv -s" option, Brendan Byrd/SineSwiper, 2004/11/15
- Re: Patch for "mv -s" option, Paul Eggert, 2004/11/16
- Re: Patch for "mv -s" option, Brendan Byrd/SineSwiper, 2004/11/19
- Re: Patch for "mv -s" option, Brendan Byrd/SineSwiper, 2004/11/19
- Re: Patch for "mv -s" option,
Paul Jarc <=
- Re: Patch for "mv -s" option, Brendan Byrd/SineSwiper, 2004/11/22
- Re: Patch for "mv -s" option, Paul Jarc, 2004/11/22
Re: Patch for "mv -s" option, Paul Eggert, 2004/11/05