0

Im trying to use find to execute all the files under a directory. I have a sed script that will replace all # with //.
assume my directory is /path/to/directory and it contains file1 file2 file3

using find and sed: find /path/to/directory -type f -exec sed -f file.sed {} \;.

how do I make it to where it runs ALL files (file1 file2 file3) under the path/to/directory directory?

bull
  • 61

0 Answers0