sharkdp / fd

A simple, fast and user-friendly alternative to 'find'
Apache License 2.0
33.81k stars 808 forks source link

Requesting swap of --full-path and --absolute-path #1442

Open Baerbeisser opened 10 months ago

Baerbeisser commented 10 months ago

I think --full-path is way more intuitive to print the full path while --absolute-path is more intuitive to match absolute (full) paths. I don't know, maybe it's because it's often used in other tools that way? I just searched the man page for half an hour because of this.

tavianator commented 9 months ago

I think it's way too big of a back-compat issue to swap the meaning of those flags. We could maybe make some new aliases for those flags, something like --match-absolute and --print-absolute

theicfire commented 8 months ago

cc https://github.com/sharkdp/fd/issues/839

Having the ability to match relative paths would also be helpful. In fact, I'd say it's very rare to ever want to match an absolute path when in some directory, since that prefix is common to everything you're searching for.