in reply to Printing all the files that have both ".rtf" and ".ftp" by searching recursively in a given directory

Quite aside from the absence of code, - - for lack of effort on the title and question.

The title can, quite plausibly, be read to mean that you want to actually print the contents of files which -- within their bodies -- contain both (.rtf and .ftp). Your actual question makes it seem likely that you want merely to print file_names where those files have .rtf OR .ftp as their extensions.

But what your question actually asks for is a means to print the files (names or content remains logically ambiguous) which have both extensions -- e.g., filename.rtf.ftp.

  • Comment on Re: Printing all the files that have both ".rtf" and ".ftp" by searching recursively in a given directory
  • Select or Download Code