copy symlinks as symlinks

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Re: copy symlinks as symlinks

Post by *byblo »

Indeed hardlink and symbolic files are different type of link. TC already detect if a file is a link type or not (can see in TC's default size column, a symbolic file is showing a <LNK>. edit:It also has the tc.file type column.. So the detection functions seems to be already there.)

This is also why i do not understand why the feature to also copy/move/sync symbolic files as symbolic or normal(as now) or ignore is not added yet to TC :s

For hardlink files, it does not seems to matter. Copying a hardlinked file into a normal type is no problem, unless user is trying to backup his OS manually on some backup folder and will use it to restore the system...

edit2: btw, i wrote a table that showing the current status of TC regarding the link types. See the picture linked from this topic: https://www.ghisler.ch/board/viewtopic.php?f=3&t=56956
pbpb
Junior Member
Junior Member
Posts: 2
Joined: 2020-08-01, 00:19 UTC

Re: copy symlinks as symlinks

Post by *pbpb »

umbra wrote: 2019-12-24, 12:24 UTC You cannot tell a difference between the original and newly created hardlinks to a file. But it is easy to detect a symlink to a file. Just like it is easy to detect a symlink to a folder (AKA directory junction, in Microsoft nomenclature).
Counterintuitively, directory junctions are not the same as directory symlinks. IIRC, the behavior difference is mainly in how they are interpreted from an external machine. See e.g. https://superuser.com/questions/343074/directory-junction-vs-directory-symbolic-link
Post Reply