Symbolic Links - Copying

bwatch

New member
Local time
12:45 AM
Messages
19
Greetings,


I have a large number of symbolic links (soft links) on my PC that I want to migrate to a new machine with an identical directory structure. When I use various backup or copy programs that clone files (bit copy), the symbolic links do not work on the target machine (they get converted to empty files instead of links). Any help would be appreciated.
 

My Computer My Computer

OS
windows vista 64
This link may be helpful.
 

My Computer My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
When I use various backup or copy programs that clone files (bit copy), the symbolic links do not work on the target machine (they get converted to empty files instead of links).
That behaviour depends on the software you use.

If your backup software does not support copying symbolic links, here’s a handy Windows tip: run the following command directly after your backup routine. This command copies all reparse points.
Code:
robocopy [COLOR="Red"]source[/COLOR] [COLOR="Red"]destination[/COLOR] /s /sl /ia:t /w:0 /r:0

Caveat: this command should be run with administrative privileges. Of course, this is because symbolic link creation requires the SeCreateSymbolicLinkPrivilege privilege which only administrative accounts have access to by default.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
Back
Top