小编use*_*070的帖子

了解 linux 中 find-command 中的一些标志

我只想在 Linux 中移动文件,我在这里找到了如下答案:

find . -maxdepth 1 -type f -exec mv {} destination_path \;
Run Code Online (Sandbox Code Playgroud)

这对我来说非常有效。但我的问题是

  1. \;此命令中的含义是什么?

  2. {}此命令中的大括号是否等效于*?

linux file-management shell command-line find

5
推荐指数
1
解决办法
3765
查看次数

标签 统计

command-line ×1

file-management ×1

find ×1

linux ×1

shell ×1