How to pipe some file names to rm, here is the solution:
$ ls | xargs rm
本文介绍了一种使用管道命令来批量删除文件的方法,通过将ls命令的输出传递给xargs并结合rm命令,可以高效地移除指定目录下的所有文件。
How to pipe some file names to rm, here is the solution:
$ ls | xargs rm
转载于:https://www.cnblogs.com/unimous/archive/2012/10/20/2731936.html
406

被折叠的 条评论
为什么被折叠?