How to execute shell command on regex match (url)

17 views
Skip to first unread message

Dev Tweakr

unread,
Aug 16, 2021, 9:28:37 AM8/16/21
to CopyQ
Im new to CopyQ so I don't know if this is possible and how to do it.

Is there a way to execute shell command if copied URL contains youtube using regex?

Example shell command:
youtube-dl -o "~/Downloads/yt/%(title)s_-%(id)s.%(ext)s" <COPIED URL>
Reply all
Reply to author
Forward
0 new messages