Skip to main content
Post Undeleted by linuxuser24569
Post Deleted by linuxuser24569
edited body
Source Link

JereHere is what worked in the end:

find . -type f -iname 'file.txt' -printf '\n%P\n'  -exec cat {} \; > catfile.txt

Finds all files titled file.txt regardless of case and prints the data to an output file called catfile.txt.

Thanks everyone for the help!

Jere is what worked in the end:

find . -type f -iname 'file.txt' -printf '\n%P\n'  -exec cat {} \; > catfile.txt

Finds all files titled file.txt regardless of case and prints the data to an output file called catfile.txt.

Thanks everyone for the help!

Here is what worked in the end:

find . -type f -iname 'file.txt' -printf '\n%P\n'  -exec cat {} \; > catfile.txt

Finds all files titled file.txt regardless of case and prints the data to an output file called catfile.txt.

Thanks everyone for the help!

added 16 characters in body
Source Link
Edgar Magallon
  • 5.1k
  • 3
  • 15
  • 29

hereJere is what worked in the end:

find . -type f -iname 'file.txt' -printf '\n%P\n' -exec cat {} ; > catfile.txt

find . -type f -iname 'file.txt' -printf '\n%P\n'  -exec cat {} \; > catfile.txt

Finds all files titled file.txtfile.txt regardless of case and prints the data to an output file called catfile.txtcatfile.txt.

Thanks everyone for the help!

here is what worked in the end:

find . -type f -iname 'file.txt' -printf '\n%P\n' -exec cat {} ; > catfile.txt

Finds all files titled file.txt regardless of case and prints the data to an output file called catfile.txt.

Thanks everyone for the help!

Jere is what worked in the end:

find . -type f -iname 'file.txt' -printf '\n%P\n'  -exec cat {} \; > catfile.txt

Finds all files titled file.txt regardless of case and prints the data to an output file called catfile.txt.

Thanks everyone for the help!

Source Link

here is what worked in the end:

find . -type f -iname 'file.txt' -printf '\n%P\n' -exec cat {} ; > catfile.txt

Finds all files titled file.txt regardless of case and prints the data to an output file called catfile.txt.

Thanks everyone for the help!