Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2008-11-10, 05:54 PM   #1
Tommy
NYC Boy That Moved To The Island
 
Join Date: Apr 2003
Posts: 2,940
Send a message via ICQ to Tommy
Does anyone know a way to paste into mutiple fiolders at once ?

Does anyone know a way to paste into mutiple fiolders at once ?

like pasting an index.html into 100 folders at one time

I always like to ask this stuff cause I am sure these posts help hundreds of webmasters .. not just me :-)
__________________
Accepting New partners
Tommy is offline   Reply With Quote
Old 2008-11-10, 06:26 PM   #2
MeatPounder
Women might be able to fake orgasms But men can fake whole relationships
 
MeatPounder's Avatar
 
Join Date: Oct 2003
Location: Fort Lauderdale, Fl
Posts: 2,408
http://www.download3k.com/Install-Co...-Software.html
MeatPounder is offline   Reply With Quote
Old 2008-11-10, 08:15 PM   #3
Max -RiotDesign
Internet! Is that thing still around?
 
Max -RiotDesign's Avatar
 
Join Date: Oct 2008
Posts: 7
Send a message via ICQ to Max -RiotDesign Send a message via AIM to Max -RiotDesign
Or you could use the automator app and create a self-exec script or a finder plugin (if you're on mac of course)
__________________
RiotDesign - Top notch Adult & Mainstream Graphic Design

ICQ: 494114096
Max -RiotDesign is offline   Reply With Quote
Old 2008-11-10, 08:52 PM   #4
xxxman
Aw, Dad, you've done a lot of great things, but you're a very old man, and old people are useless
 
Join Date: Nov 2008
Posts: 22
if you are on linux server, use this shell script

Code:
#! /bin/sh
for dir in /home/fiolder/* ; do
if test -d $dir ; then
cp -f /pathto/index.html $dir
fi
done
xxxman is offline   Reply With Quote
Old 2008-11-12, 12:34 PM   #5
SirMoby
Jim? I heard he's a dirty pornographer.
 
SirMoby's Avatar
 
Join Date: Aug 2003
Location: Washington, DC
Posts: 2,706
I'm such a DOS geek. I just realized that I've been writing batch files for over half of my life

Either using the command prompt and CD to where all the directories are located or create a file in that location with the extension of .bat (like tommy.bat)

Then use the line below. Change the \index.html to the location of the file.

for /D %a in (*) DO xcopy \index.html %a

If you want to copy all the files in a directory such as index.html and the images directory that goes along with it. Swap out the \index with the directory name such as \template and add a /s at the end.

for /D %a in (*) DO xcopy \template %a /s
__________________
Make Serious Money With Hungarian Honeys From NS Cash
SirMoby is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:30 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc