Skip to content

Getting the list of selected files in a relative format #1369

Answered by joelim-work
Archie-2021 asked this question in Q&A
Discussion options

You must be logged in to vote

$fx contains absolute paths. If you want relative paths you can use realpath, by replacing $fx with $(realpath --relative-to=. $fx).

Interestingly qmv $fx works for me (the files are displayed as absolute paths though), so I'm not sure what your issue actually is.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Archie-2021
Comment options

@joelim-work
Comment options

Answer selected by Archie-2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants