Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support -F style trailing characters #236

Open
jwfearn opened this issue Aug 17, 2023 · 3 comments
Open

Support -F style trailing characters #236

jwfearn opened this issue Aug 17, 2023 · 3 comments

Comments

@jwfearn
Copy link

jwfearn commented Aug 17, 2023

[I can't find how to do this in docs, if it's possible then maybe add -F as the supported short option.]

Support for trailing characters to identify directories, executables, links, etc. Like the -F option to ls. From man ls:

     -F      Display a slash (‘/’) immediately after each pathname that is a directory, 
             an asterisk (‘*’) after each that is executable, an at sign (‘@’) after each 
             symbolic link, an equals sign (‘=’) after each socket, a percent sign (‘%’) 
             after each whiteout, and a vertical bar (‘|’) after each that is a FIFO.
@solidiquis
Copy link
Owner

Great suggestion! Can do

@jwfearn
Copy link
Author

jwfearn commented Aug 21, 2023

Suggested long option for -F: --classify. From another man ls:

  -F, --classify             append indicator (one of */=>@|) to entries

@retrobit
Copy link

Also, tree supports this "...as per ls -F": https://linux.die.net/man/1/tree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants