Skip to content
Discussion options

You must be logged in to vote

Hi @bakubo

There is no setting for this in 0.4.1. Copy file path always puts the full paths on the clipboard, one per line. The shortcut for it is ⌥⌘C.

On a Mac you can strip the folders in one step. Select your files in Lap and press ⌥⌘C. Then run this in Terminal.

pbpaste | sed 's#.*/##' | paste -sd ' ' - | pbcopy

Your clipboard now has only the filenames on one line with spaces between them. If you want one per line instead, drop the paste part.

pbpaste | sed 's#.*/##' | pbcopy

One thing to watch. If any of your filenames have spaces in them, the space separated list will be hard to split later. The one per line version avoids that.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bakubo
Comment options

@bakubo
Comment options

Answer selected by julyx10
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