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

list files/dirs with full relative path and/or absolute path. #646

Open
ri-aje opened this issue Apr 1, 2020 · 0 comments
Open

list files/dirs with full relative path and/or absolute path. #646

ri-aje opened this issue Apr 1, 2020 · 0 comments

Comments

@ri-aje
Copy link

ri-aje commented Apr 1, 2020

just found exa, looks really nice. thanks for making it.

it's -R and -T are useful. sometimes I need it to list all files/subdirs with the whole paths, and I haven't figure out how to do that in exa, can someone help? thanks.

e.g., here is my folder/file structure (displayed with tree .)

.
├── 1/
│   └── a
├── 2/
│   └── b
└── 3/
    └── c

and I want to generate this listing.

1/a
2/b
3/c

the above is generated with fd -tf . note the full path relative to the current working directory is prepended. and I am thinking generating the absolute paths would also be useful.

exa -R gives me

1  2  3

./1:
a

./2:
b

./3:
c

which isn't very useful for piping and further processing.

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

1 participant