在linux中使用bash查找文件夹中的所有音频文件
发布时间:2020-12-14 01:35:13 所属栏目:Linux 来源:网络整理
导读:当我使用带有ls命令的通配符时,它可以工作. $ls '*.{mp3,ogg}' # Showing only two formats in the commandcannot access *.mp3: No such file or directory1.ogg 2.ogg 3.ogg 但使用find命令不起作用 $find ~ -iname '*.{mp3,ogg}' 这行中的错误是什么? 解
当我使用带有ls命令的通配符时,它可以工作.
$ls '*.{mp3,ogg}' # Showing only two formats in the command cannot access *.mp3: No such file or directory 1.ogg 2.ogg 3.ogg 但使用find命令不起作用 $find ~ -iname '*.{mp3,ogg}' 这行中的错误是什么? 解决方法
我认为这对你有用
find ~ -name "*.mp3" -o -name "*.ogg" -o相当于boolean或 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |