Bash 复制带有特定前缀的多个文件

Bash 复制带有特定前缀的多个文件,bash,cp,Bash,Cp,如何复制带有特定前缀的文件,例如LTE*.html,Voicemail*.html $ ls 2G_3G_cccccc.html other_dddd.html other3_dddd.html Voicemail_bbbbbb.html LTE_aaaa.html other2_dddd.html subdir1 我尝试过这个,但没有乐趣 $ cp '(LTE*|Voice*).html' subdir1/ cp: cannot stat `(LTE*|Voice*).h

如何复制带有特定前缀的文件,例如
LTE*.html
Voicemail*.html

$ ls
2G_3G_cccccc.html  other_dddd.html   other3_dddd.html  Voicemail_bbbbbb.html
LTE_aaaa.html      other2_dddd.html  subdir1
我尝试过这个,但没有乐趣

$ cp '(LTE*|Voice*).html' subdir1/
cp: cannot stat `(LTE*|Voice*).html': No such file or directory
这就是我想要的结果

$ ls subdir1/
Voicemail_bbbbbb.html    LTE_aaaa.html
使用撑杆展开

cp {LTE,Voice}*.html subdir1/
扩展到

cp LTE*.html Voice*.html subdir1/