I have a directory with .patch
files, generated using diff.
I would like to apply all those patches using patch -p1
to another directory.
But patch takes only one file, unless I cat
.
What would the command be to apply multiple files using xargs
or a similar tool.
Best Answer
If
cat
works, why not use it?To use
find
andxargs
:Example: