How to output relative paths? #1321
-
Why this command doesn't output relative paths (without |
Beta Was this translation helpful? Give feedback.
Answered by
tavianator
May 24, 2023
Replies: 2 comments 1 reply
-
You can remove the first fd -g '*' --base-directory /tmp
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tkossak
-
Thank you very much! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can remove the first
/tmp
to get your desired output:fd -g '*' --base-directory /tmp
--relative-path
is the default so you don't need to specify it explicitly.