Use of 'COPY' command

2 posts / 0 new
Last post
OldFart
OldFart's picture
Offline
Last seen: 10 hours 34 min ago
Joined: 2010-11-30 14:09
Use of 'COPY' command

Hi,

As one of the drives in my X5000 is making ehm, eh, lets say: 'funny noises', I decided to move the partitions it contains to another disk, using 'COPY'. One partition in particular contains truckloads of 'links' and whatever I tried, none of the links is copied as a link proper.

I tried the following:

  1. c:copy <from> <to> ALL CLONE
  2. - resulting in none of the links copied
  3. c:copy <from> <to> ALL CLONE COPYLINKS
  4. - resulting in the links being copied as files
  5. c:copy <from> <to> ALL CLONE FOLLOWLINKS
  6. - resulting in none of the links copied
  7. c:copy <from> <to> ALL CLONE COPYLINKS FOLLOWLINKS
  8. - resulting in the links being copied as files

Is there a way to copy (soft-)links as links and not as files?

OldFart

jabirulo
jabirulo's picture
Offline
Last seen: 2 days 7 hours ago
Joined: 2013-05-30 00:53
Re: Use of 'COPY' command

help copy:
...
NOTES
COPY does NOT provide any way to recreate hard or soft links,
but instead it allows copies of the target that the link points to
with the COPYLINKS option or FOLLOWLINKS into a linked directory.
...

AOS4.1/SAM460ex/PPC460EX-1155MHZ/2048MB/RadeonRX550/SSD240GB/DVDRW :-P

Log in or register to post comments