Yeoman copy directory without templating

I am using yeoman for creating a scaffold for my app.

I want to copy all the directory recursively thats why I am using this.directory method

  • Mongoose.js: Find user by username LIKE value
  • XSD validation functionality from node.js?
  • Do express.js has variable length parameters?
  • Socket.io Detect when client disconnects
  • Google cloud deploy so slow
  • NodeJS on multiple processors (PM2, Cluster, Recluster, Naught)
  • this.directory('views/static/views', '.views/static/views');
    

    Now whenever I am running it shows an error showing <%= title %> in file index.html during copying is not defined.

    This <%= title %> is not the part of Templating but I am using this for my other purpose.

    I want to disable the templating while copying using this.directory method.?

  • Cannot read property 'connect.sid' of undefined at Layer.session - ExpressJS session
  • Elastic search bulk index timeout err! Error: Request Timeout after 30000ms
  • Mongoose doesn't save data to the MongoDB
  • sails.js v0.10 create new project --linker not working Gruntfile.js not used
  • JavaScript Retain certain properties and remove other properties from array of objects
  • NodeMailer : getaddrinfo Error
  • One Solution collect form web for “Yeoman copy directory without templating”

    I figure it out.
    using this.fs.copy copies recursively without templating.

    writing: function () {
        this.fs.copy(
          this.templatePath('views/static/views'),
          this.destinationPath('.views/static/views')
        );
      }
    

    Now when templating the correct syntax should be

    writing: function () {
        this.fs.copyTpl(
          this.templatePath('index.html'),
          this.destinationPath('public/index.html'),
          { title: 'Templating with Yeoman' }
        );
      }
    
    Node.js is the Best Javascript runtime in the world.