我想列出的所有文件的文件夹,名为中foldername有扩展test,atest或btest。
我的直接想法是跑 ls ./foldername/*.{a,b,}test
这工作正常,除非扩展名没有任何内容atest,在这种情况下我会收到错误消息zsh: no matches found: ./foldername/*.atest。
有什么办法可以简单地忽略此错误并打印确实存在的文件?
我需要它在 ZSH 和 BASH 中工作。
I am trying to set up a single SSL certificate that will make any *.local website work over https. I have all .local domains pointing back to my local machine. I use these when developing websites. A lot of new features (geo location, service workers etc.) require an SSL.
I believe that for recent versions of Chrome/Firefox, an old school self-signed certificate no longer works.
Below are the steps I have taken after following a combination of these guides: https://deliciousbrains.com/https-locally-without-browser-privacy-errors/ …