我正在尝试使用 GNU 并行运行脚本的许多实例,但该脚本没有参数。
如果我只是执行 'parallel foo.sh' 我得到这个:
parallel: Warning: Input is read from the terminal. Only experts do this on purpose. Press CTRL-D to exit.
Run Code Online (Sandbox Code Playgroud) 我正在尝试使用以下方法删除某些目录的内容(但不是目录本身):
find -type d -name someDirs -exec rm -rf {}/* \;
Run Code Online (Sandbox Code Playgroud)
但它不起作用。有小费吗?