Linux find files and delete (xargs)

xargs command is passed to command other filter parameters, but also a combination of a plurality of command means, the space is defined by default, default command echo
 
1  the Find -name. " * Log.txt " | xargs  RM -rf # Find the current directory and delete all files log.txt

 

By the results of the find command xargs passed as parameters later rm -rf

Guess you like

Origin www.cnblogs.com/cristiano-duan/p/12027427.html