Files icon indicating copy to clipboard operation
Files copied to clipboard

Feature: Full support for softlinks/symlinks/junctions & hardlinks

Open dflock opened this issue 3 years ago • 8 comments

What feature or improvement do you think would benefit Files?

Currently, Files can only create Windows Explorer Shortcuts/Links(.lnk files). These are nowhere near as useful as real softlinks & hardlinks.

Windows/NTDS supports both softlinks/symlinks/junctions & hardlinks: https://docs.microsoft.com/en-us/windows/win32/fileio/hard-links-and-junctions

Currently Files shows the little shortcut arrow overlaid onto the icons for files or folders which are Junctions, but the properties dialog doesn't know about junctions.

Requirements

  • Be able to + drag and drop a file or folder to create a softlink or a harlink
  • Be able to <Context Click> New... to create a soft or hard link in a folder, pointing to a destination chosen by the user
  • Be able to copy, rename & delete soft/hardlinks independently of the files/folders they point to
  • The properties dialog will know about junction & reparse points and tell you:
    • The type of link: softlink/hardlink/etc...
    • The destination of the link
    • Like: https://schinagl.priv.at/nt/hardlinkshellext/linkshellextension.html

Files Version

Version: 2.3.11.0

Windows Version

Windows 10: 10.0.19044.1889

Comments

No response

dflock avatar Sep 13 '22 22:09 dflock

Asking @yaira2 for approval.

Josh65-2201 avatar Dec 15 '22 20:12 Josh65-2201

Asking @yaira2 for approval.

Thank you 💝

ItsCubeTime avatar Dec 15 '22 20:12 ItsCubeTime

Let's track these in separate issues

yaira2 avatar Dec 16 '22 06:12 yaira2

To add to this, it would also be cool if we had an option to convert symlinks to real files & folders (perhaps as an option when rightclicking a symlink "realize symlinks").

ItsCubeTime avatar Dec 20 '22 23:12 ItsCubeTime

To add to this, it would also be cool if we had an option to convert symlinks to real files & folders (perhaps as an option when rightclicking a symlink "realize symlinks").

More like 'break symlinks' since you want to read (...) through to the target data, and that's the phrase used in UN*X?

nordquistdave avatar Sep 30 '23 21:09 nordquistdave

Common guys :D We need those, he post this @2022 ♥️

specurial avatar Feb 12 '24 10:02 specurial