Skip to content

Instantly share code, notes, and snippets.

@fsimonis
Created September 3, 2025 14:58
Show Gist options
  • Select an option

  • Save fsimonis/259c97f945616e871542d7a7465b40b1 to your computer and use it in GitHub Desktop.

Select an option

Save fsimonis/259c97f945616e871542d7a7465b40b1 to your computer and use it in GitHub Desktop.
Copy file uri from terminal to paste in GUI applications
#!bash
echo -n "file://$( readlink -f $@ )" | wl-copy -t "text/uri-list"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment