freebsd / linux / unix command

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zentz
    Confirmed User
    • Nov 2003
    • 8062

    #1

    freebsd / linux / unix command

    Is there maybe a command that will automaticly put one file in mulitple folders and subfolders ?

    i have to upload a file into hundreds of folders and it would be awesome if there is an easier way then doing it 1by1 manualy.
    Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000

    Email: [email protected]
  • zentz
    Confirmed User
    • Nov 2003
    • 8062

    #2
    bump bump
    Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000

    Email: [email protected]

    Comment

    • boldy
      Macdaddy coder
      • Feb 2002
      • 2806

      #3
      Code:
      
      find /your/directory/here/ -type d -exec cp /tmp/file.ext {} \;
      Last edited by boldy; 03-24-2006, 09:58 AM.
      MacDaddy Coder.

      Comment

      • fuzebox
        making it rain
        • Oct 2003
        • 22352

        #4
        Yes, with some basic bash scripting. What do you need to do exactly?

        Comment

        • fuzebox
          making it rain
          • Oct 2003
          • 22352

          #5
          n/m boldy's got it.

          Comment

          • zentz
            Confirmed User
            • Nov 2003
            • 8062

            #6
            Originally posted by boldy
            Code:
            
            find /your/directory/here/ -type d -exec cp /tmp/file.ext {} \;
            THANKS!!!
            Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000

            Email: [email protected]

            Comment

            Working...