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