Command Line Magic on Nostr: If you're concerned about how your use of wildcards and brace expansion will be ...
If you're concerned about how your use of wildcards and brace expansion will be interpreted by the shell and passed to the program, you can usually replace the command with echo first to get a list of the args that will be generated:
echo Photos/\[Conference\]-*.{jpg,mp4}
Published at
2025-01-24 14:34:12Event JSON
{
"id": "a4cedc253ade2e8e90bbaddde39b0424c86f88b863b391220dca19740f7dbd6d",
"pubkey": "f5f1075f3fad1755cef1ef9024d53eafd24ea460383319ffb9949f3b6a3cde1a",
"created_at": 1737729252,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/climagic/statuses/113883824305645149",
"activitypub"
]
],
"content": "If you're concerned about how your use of wildcards and brace expansion will be interpreted by the shell and passed to the program, you can usually replace the command with echo first to get a list of the args that will be generated:\n\necho Photos/\\[Conference\\]-*.{jpg,mp4}",
"sig": "82356a0758f212df5c410b28ebd446a3f371bef023d1527849e5e95ed3b76b6036f20c0d73c7e1afba89e18f1ca2cb2c58e65efc08d9fcb8cff31b1bbc7a0e9a"
}