xargs - Serbipunk/notes GitHub Wiki

echo xxx_file_list.txt | xargs -i echo cp {} {}.back

find -name "debug_markdown*" -print0 | xargs -0 du -h

find ~ -name "core.txt" | xargs du -sh

https://stackoverflow.com/questions/18312935/find-file-in-linux-then-report-the-size-of-file-searched/18313251

find . | grep "FooBar" | tr \\n \\0 | xargs -0 -I{} cp "{}" ~/foo/bar

copy found files

https://stackoverflow.com/questions/17368872/how-to-move-or-copy-files-listed-by-find-command-in-unix

find /path/to/search/ -type f -name "glob-to-find-files" | xargs cp -t /target/path/