Is it possible to copy file symlinks as links?
Moderators: sheep, Hacker, Stefan2, white
-
- Junior Member
- Posts: 6
- Joined: 2013-07-12, 07:57 UTC
Is it possible to copy file symlinks as links?
I can't find a way to configure TC to copy file symlinks (not directory junctions) as links. Is it at all possible? Setting CopyLinks=1 in the config file does not help here, I guess it applies to directory junctions only.
- ghisler(Author)
- Site Admin
- Posts: 38384
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Is it possible to copy file symlinks as links?
No, unfortunately file symlinks cannot currently be copied, only directory symlinks.
Author of Total Commander
http://www.ghisler.com
http://www.ghisler.com
Re: Is it possible to copy file symlinks as links?
Hello SlimShaggy.
You can use 'FastCopy ver 3.52' for copying file-symbolic links.
https://fastcopy.jp/en/
It will retain the symbolic link correctly back to the 'original' file, and not just make a 'new' symbolic link of the symbolic link, you try to copy.
Remember to make the setting:
Main settings - Copy/Move options - Copy Junction/Symlink as Junction/Symlink (not target)
PS: The 'FastCopy.chm' file gives an excellent description (jap/eng) on how to use command lines, which is easy to use in a TC-icon.
I personally use: /auto_close /open_window /cmd=update /estimate %S /to="%T"
You can use 'FastCopy ver 3.52' for copying file-symbolic links.
https://fastcopy.jp/en/
It will retain the symbolic link correctly back to the 'original' file, and not just make a 'new' symbolic link of the symbolic link, you try to copy.
Remember to make the setting:
Main settings - Copy/Move options - Copy Junction/Symlink as Junction/Symlink (not target)
PS: The 'FastCopy.chm' file gives an excellent description (jap/eng) on how to use command lines, which is easy to use in a TC-icon.
I personally use: /auto_close /open_window /cmd=update /estimate %S /to="%T"
HerbieH*
-Keep on makin' music!
-Keep on makin' music!
Re: Is it possible to copy file symlinks as links?
Just FYI, I got a few errors while copying with FastCopy (never with TC).
Roman
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Re: Is it possible to copy file symlinks as links?
To Roman.
What errors?
I have used FastCopy for years and never had any any errors. (I always use latest version.)
It detects all junctions perfectly, and I heavly rely on it on my FTP-server work etc.
Total Commander ALSO does a great job for me
, and I rely very much on TC too for my server work, like FTP-file transfer etc.
But FastCopy has a better way of continue copying on errors - and then giving me a list of errors at the end.
..and it integrates nicely into TC.
What errors?
I have used FastCopy for years and never had any any errors. (I always use latest version.)
It detects all junctions perfectly, and I heavly rely on it on my FTP-server work etc.
Total Commander ALSO does a great job for me

But FastCopy has a better way of continue copying on errors - and then giving me a list of errors at the end.
..and it integrates nicely into TC.

HerbieH*
-Keep on makin' music!
-Keep on makin' music!
Re: Is it possible to copy file symlinks as links?
HerbieH,
To be honest I do not remember anymore, some kind of I/O errors a few months back after which the copy could not be resumed. I was transferring one 8 TB file from an internal hard drive to an external USB hard drive.
Roman
To be honest I do not remember anymore, some kind of I/O errors a few months back after which the copy could not be resumed. I was transferring one 8 TB file from an internal hard drive to an external USB hard drive.
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Re: Is it possible to copy file symlinks as links?
Roman thanks for your answer.
A 'big pancake'.
My biggest filecopy to this day has been a 1.4 TB Veracrypt container - and I honestly don't remember if i used FastCopy or TC internal..
I will test very big files on FastCopy at some point in the future, and let the forum know...
A 'big pancake'.

I will test very big files on FastCopy at some point in the future, and let the forum know...
HerbieH*
-Keep on makin' music!
-Keep on makin' music!
Re: Is it possible to copy file symlinks as links?
me too!!! PLEASE add the available options..
- into Settings/ Copy options
- into the copy dialog options
- ghisler(Author)
- Site Admin
- Posts: 38384
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Is it possible to copy file symlinks as links?
Have a look at the option CopyLinks in wincmd.ini (section 4b in the help). There are options to just copy it 1:1, or adjust the target path when copying between drives.
Author of Total Commander
http://www.ghisler.com
http://www.ghisler.com
Re: Is it possible to copy file symlinks as links?
Since i started using heavily directories and files in symlink, i feel stuck with TC now...
* Copying a symlink file does not work (file is duplicated instead)
* Syncronizing my backups gives now empty directories instead of symlink directories, and files can be either ignored or duplicated...
Thus, it became impossible to use TC just to simply copy or make backup where symbolic links are used...
Close to give up with TC. It was great 10 years ago, but getting very outdated/broken on many ways
* Copying a symlink file does not work (file is duplicated instead)
* Syncronizing my backups gives now empty directories instead of symlink directories, and files can be either ignored or duplicated...
Thus, it became impossible to use TC just to simply copy or make backup where symbolic links are used...
Close to give up with TC. It was great 10 years ago, but getting very outdated/broken on many ways

- ghisler(Author)
- Site Admin
- Posts: 38384
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Is it possible to copy file symlinks as links?
No, only directory symlinks.
Author of Total Commander
http://www.ghisler.com
http://www.ghisler.com