ubuntu:xargs:using_xargs_with_the_find_command
This is an old revision of the document!
Ubuntu - xargs - Using xargs with the find command
Used to search for specific files and perform further processing on those files using xargs.
Using xargs with the find command
Syntax
find /home/peter -name "*.txt" -type f -print0 | xargs rm -f
NOTE: When using xargs with find, it does not include files that contain special characters in their names.
- It is advisable to use the find -print0 option to include such files.
ubuntu/xargs/using_xargs_with_the_find_command.1624363354.txt.gz ยท Last modified: 2021/06/22 12:02 by peter