Copy hdd with symlinks , TC copies original files instead of symlinks

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
IceLancer
Junior Member
Junior Member
Posts: 15
Joined: 2019-01-30, 18:35 UTC

Copy hdd with symlinks , TC copies original files instead of symlinks

Post by *IceLancer »

Hey there!
I have serious problem. I was making backup of my 3tb hdd which has a lot of symlinks in it. But Total cmd 9.51 ended up with backup hdd full at 70% of data copy.. at second time copy attempt i finally realized what is the problem of hdd full.. TC is not copying symlinks but real files instead!!
I need to fix this , my hdd is failing how do i tell him how to do this properly??
:!: :?:

P.S
i just had to google and found out about "CopyLinks" , my TC doesn't have that switch in ini at all. Why is this turned on by default to copy original files instead of symlinks??
User avatar
norfie²
Power Member
Power Member
Posts: 986
Joined: 2006-02-10, 07:27 UTC

Re: Copy hdd with symlinks , TC copies original files instead of symlinks

Post by *norfie² »

2IceLancer
IceLancer wrote:my TC doesn't have that switch in ini at all.
You have to insert this option in [Configuration] by yourself.
IceLancer wrote:Why is this turned on by default to copy original files instead of symlinks??
I would suppose that is because TCmd is a file manager and not a hdd backup tool. If one do not copy all files of a computer then in all probability some files will be missed i.e. there are only useless symlinks without the files because the target of symlink was not copied too.
"War is evil, in so far as it makes more bad people than it takes away."
Immanuel Kant in "Perpetual Peace"
IceLancer
Junior Member
Junior Member
Posts: 15
Joined: 2019-01-30, 18:35 UTC

Re: Copy hdd with symlinks , TC copies original files instead of symlinks

Post by *IceLancer »

norfie² wrote: 2020-11-05, 12:49 UTC I would suppose that is because TCmd is a file manager and not a hdd backup tool.
That's quite weird statement if you ask me. Not a hdd backup tool? Its basic copy which should be handled properly and not like this. Copy entire original files? That's not how any file manager should behave.1tb in waiour symlinks gets copied entirely? wow
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6495
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Copy hdd with symlinks , TC copies original files instead of symlinks

Post by *Horst.Epp »

Please also check what setting you have for IgnoreLinks
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
IceLancer
Junior Member
Junior Member
Posts: 15
Joined: 2019-01-30, 18:35 UTC

Re: Copy hdd with symlinks , TC copies original files instead of symlinks

Post by *IceLancer »

Horst.Epp wrote: 2020-11-05, 13:55 UTC Please also check what setting you have for IgnoreLinks
Nothing. Just as default tc.(but i don't have hardlinks, just symlinks)
Now that i think about it, the most basic function that should be implemented is TC to ask user what to do when symlink is encountered during copy if not stated in .ini already
Last edited by IceLancer on 2020-11-05, 14:12 UTC, edited 1 time in total.
User avatar
norfie²
Power Member
Power Member
Posts: 986
Joined: 2006-02-10, 07:27 UTC

Re: Copy hdd with symlinks , TC copies original files instead of symlinks

Post by *norfie² »

2IceLancer
One should first analyse the problem before crying.
What is the proper handling of copy symlinks?
There is not only the case of backup a hdd.
If one copy a folder which contains symlinks then the folder can contain the target of a symlink or not.
Targets can be a other folder on the same partition, the same folder on another partition, other folder on other partition. Partitions can be removable or not...

If the TCmd is not the right tool for a very special task then one should use another suitable tool. Only my 2 cents.
"War is evil, in so far as it makes more bad people than it takes away."
Immanuel Kant in "Perpetual Peace"
IceLancer
Junior Member
Junior Member
Posts: 15
Joined: 2019-01-30, 18:35 UTC

Re: Copy hdd with symlinks , TC copies original files instead of symlinks

Post by *IceLancer »

norfie² wrote: 2020-11-05, 14:11 UTC ,,
ignored your 2 cents and reported for being an ass
User avatar
Dalai
Power Member
Power Member
Posts: 9393
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Copy hdd with symlinks , TC copies original files instead of symlinks

Post by *Dalai »

IceLancer wrote: 2020-11-05, 14:10 UTCNow that i think about it, the most basic function that should be implemented is TC to ask user what to do when symlink is encountered during copy if not stated in .ini already
It has been suggested multiple times to offer an option in TC's copy dialog what to do with junctions and symlinks. So far Ghisler's answer has always been like "the copy dialog is already too crowded", which is true on the one hand but OTOH such an option is really necessary because CopyLinks option is too cumbersome to use since it has to be set manually, it's too easy to forget to reset/unset afterwards and so on.
IceLancer wrote: 2020-11-05, 14:13 UTCignored your 2 cents and reported for being an ass
You're free to ignore other people's posts, but I don't see anything to suggest that norfie² was being an ass. On the contrary, the points he brought up are valid. To add to that, Rsync doesn't copy symlinks and junctions by default and neither does Robocopy - all of them copy link targets unless told otherwise. So why should TC do it differently? Nonetheless, the situation could definitely improved.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
norfie²
Power Member
Power Member
Posts: 986
Joined: 2006-02-10, 07:27 UTC

Re: Copy hdd with symlinks , TC copies original files instead of symlinks

Post by *norfie² »

2IceLancer
You are welcome.
"War is evil, in so far as it makes more bad people than it takes away."
Immanuel Kant in "Perpetual Peace"
Post Reply