Brendan Byrd/SineSwiper <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED]:~/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
_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-coreutils