View Single Post
Old 11-05-2004, 07:16 AM  
European Lee
Confirmed User
 
Join Date: Dec 2002
Location: Daytona Beach
Posts: 7,133
Quote:
Originally posted by kondro
You could do something this:

1. Upload file to temporary directory.

2. Use the following script:

find /base/dir -type d | xargs cp /tmp/dir/file

This will copy the file in the temporary directory to any directory under the /base/dir directory.

You could do a similar thing with symlink, just make sure not to delete the original and I would suggest using absolute paths.
Thats more along the lines of what i was looking for thanks

Out of interest though..

Will that copy the files into the sub directory of the initial sub directorys also?

domain.com/dir/subdir is where i need them to go not..

domain.com/dir/subdir/subdir

Regards,

Lee
European Lee is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote