I need to copy a file to multiple directories

Discussion in 'Programming/Scripts' started by jboud, Aug 30, 2013.

  1. jboud

    jboud Member

    Hello, I need something fairly simple but I lack the experience for it.

    I need to copy a file from /root/robots.txt to multiple directories to /var/www/?/web/

    I tried the obvious "cp /root/robots.txt /var/www/?/web/ or * instead of ? and although it's not producing any errors, it's not working either. The directories contain already a robots.txt file and I'm not sure if that's the problem.

    My system is a Debian 6.0
  2. jboud

    jboud Member

Share This Page