如何设法找到目录和子目录中的所有文件并对它们运行命令?
例如,
find . -type f -name "*.txt"
查找所有 txt 文件并:
find . -type f -name "*.txt" | gedit
将它发送到 gedit,但在文本文件中。我想让 gedit 打开所有文本文件。
linux command-line
command-line ×1
linux ×1