Link count missing from commander interface

Advertisement

trueheart
Joined:
Posts:
1
Location:
USA

Link count missing from commander interface

I notice that WinSCP commander interface has column option for every part of ls -l output except for the 'number of links' (after permissions and before owner name)

Does the SFTP protocol not support retrieving this field? This information if important for me. It would be helpful even to know of another method of seeing this information without leaving WinSCP.

Thanks! -True

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: Link count missing from commander interface

It's not readily available in the SFTP protocol. But it's part of "file description" provided by many SFTP servers (including OpenSSH). WinSCP ignores this field currently. We will see, if more people ask for this.

But you can have WinSCP display the information by adding a custom command like ls -ld !& – You can even associate the command with a keyboard shortcut.
https://winscp.net/eng/docs/custom_command

Reply with quote

cracki
Joined:
Posts:
18
Location:
Germany

I'd like to ask for this too but I understand if it's a low priority.

This would be handy to me because I am tending to a heap of files that does have some hardlinks, and I'd use it to spot "duplicates" that are ok to delete. If the metadata happens to contain the inode number, that would be useful to have as well.

Reply with quote

Advertisement

You can post new topics in this forum