2017-05-08 41 views

回答

1

到所有匹配的文件复制到一个目录,你可以这样写:

grep -rl "<text>" /path | xargs cp -t /path/to/destination 
相关问题