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

Previous Next

Package: coreutils;

Reported by: Kai Herlemann <netkai.news.netuse <at> googlemail.com>

Date: Wed, 1 Jan 2014 23:57:02 UTC

Severity: wishlist

To reply to this bug, email your comments to 16321 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#16321; Package coreutils. (Wed, 01 Jan 2014 23:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kai Herlemann <netkai.news.netuse <at> googlemail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Wed, 01 Jan 2014 23:57:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kai Herlemann <netkai.news.netuse <at> googlemail.com>
To: bug-coreutils <at> gnu.org
Subject: [cp] Feature request: create relative symlinks with "cp -r -s" like
 "ln -r"
Date: Wed, 01 Jan 2014 22:05:29 +0100
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




This bug report was last modified 10 years and 89 days ago.

Previous Next


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