GNU bug report logs - #16321
[cp] Feature request: create relative symlinks with "cp -r -s" like "ln -r"

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: coreutils; Severity: wishlist; Reported by: Kai Herlemann <netkai.news.netuse@HIDDEN>; dated Wed, 1 Jan 2014 23:57:02 UTC; Maintainer for coreutils is bug-coreutils@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Jan 2014 23:56:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 01 18:56:10 2014
Received: from localhost ([127.0.0.1]:56775 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VyVdx-00042I-3Y
	for submit <at> debbugs.gnu.org; Wed, 01 Jan 2014 18:56:09 -0500
Received: from eggs.gnu.org ([208.118.235.92]:51716)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <netkai.news.netuse@HIDDEN>)
 id 1VySzG-0007tE-QB
 for submit <at> debbugs.gnu.org; Wed, 01 Jan 2014 16:05:59 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <netkai.news.netuse@HIDDEN>)
 id 1VySzB-0002yw-0l
 for submit <at> debbugs.gnu.org; Wed, 01 Jan 2014 16:05:58 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:46047)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <netkai.news.netuse@HIDDEN>)
 id 1VySzA-0002yo-Tl
 for submit <at> debbugs.gnu.org; Wed, 01 Jan 2014 16:05:52 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:53411)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <netkai.news.netuse@HIDDEN>)
 id 1VySz5-0000Q3-FA
 for bug-coreutils@HIDDEN; Wed, 01 Jan 2014 16:05:52 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <netkai.news.netuse@HIDDEN>)
 id 1VySz0-0002x5-40
 for bug-coreutils@HIDDEN; Wed, 01 Jan 2014 16:05:47 -0500
Received: from mail-ea0-x232.google.com ([2a00:1450:4013:c01::232]:37955)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <netkai.news.netuse@HIDDEN>)
 id 1VySyz-0002wz-Sd
 for bug-coreutils@HIDDEN; Wed, 01 Jan 2014 16:05:42 -0500
Received: by mail-ea0-f178.google.com with SMTP id d10so5947036eaj.37
 for <bug-coreutils@HIDDEN>; Wed, 01 Jan 2014 13:05:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=googlemail.com; s=20120113;
 h=message-id:date:from:user-agent:mime-version:to:subject
 :content-type:content-transfer-encoding;
 bh=1Vb0wugiU5U8/KDZkX8zSaghX5rGUYigdRvucCPSYg0=;
 b=Xv3ss+Tq8xxaIu8SVqjjZQ0asAHsjCyThs5t+f0RIi0MMsUb39NiLkq0MjU5tRtptM
 +qAK8MlSdf5AENCfwRNq1QcPX12nRNdInaCp5+MqHbg1CalzhO2iUsTx/qXYRaKFPGky
 HCAYdTA3+WcP/4Zelkw9KoXEkQETaFFghYB4FhcJpaxD1i6ZiPWyLLA56Kz7Jq3fpVoi
 sw35OtTcVCAY0ScQ6bmnDB73o3mf6mDDTdxL0Ma6HyZ/xkCV93FvgPYizFHq8mC1xoo2
 Hrp8Z2i+t3KD0wYIkGzJKiaMIHTL7lilvwmFm6+0GZNzse1MxbeczITV2H3FVyIWEJfF
 OW6A==
X-Received: by 10.15.86.75 with SMTP id h51mr12416424eez.44.1388610341136;
 Wed, 01 Jan 2014 13:05:41 -0800 (PST)
Received: from [192.168.1.3] ([2.161.115.29])
 by mx.google.com with ESMTPSA id 44sm130213751eek.5.2014.01.01.13.05.38
 for <multiple recipients>
 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
 Wed, 01 Jan 2014 13:05:39 -0800 (PST)
Message-ID: <52C48319.5040005@HIDDEN>
Date: Wed, 01 Jan 2014 22:05:29 +0100
From: Kai Herlemann <netkai.news.netuse@HIDDEN>
User-Agent: Mozilla/5.0 (X11; Linux i686;
 rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: bug-coreutils@HIDDEN
Subject: [cp] Feature request: create relative symlinks with "cp -r -s" like
 "ln -r"
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 01 Jan 2014 18:56:07 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

Hello,
at first, there's a possibility to create relative symlinks with "ln -s -r".

Secondly, "cp -r -s" creates only symlinks instead of copying them.
I'd like to request that "cp -r -s" gets also that possibility to
create relative symlinks like "ln -s -r".

That may be very good if you want to 1) copy many different files to a
portable storage device like an memory stick, 2) create two different
file structures (in my case: sort after the source of music and after
the singers) and don't want to copying them two at once. In cases like
that, the absolute file path isn't the same, and therefore, only a
relative symlink will work.

Thanks, and happy new year!
Kai




Acknowledgement sent to Kai Herlemann <netkai.news.netuse@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-coreutils@HIDDEN. Full text available.
Report forwarded to bug-coreutils@HIDDEN:
bug#16321; Package coreutils. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.