View Single Post
Old 10-11-2010, 10:45 AM  
Inter-Sex
Confirmed User
 
Industry Role:
Join Date: Nov 2005
Location: Spain :)
Posts: 2,231
Question : SSH / Copy / Same Path...HELP ! ! !

Hello

I need some help, so if you have time...don't stop reading.

SSH is not my strongest point. I have for example 20 times the dir "clips" at my server, (under different domains)
and would like to do a search just in those dirs "clips", to "*.ext"
(the "clips" directory has other dirs in it : path /clips/clip33/clips33-a/*)

After that i would like to copy all found files to a new directory, but if it is posible i would like to get
the same structure in the new directory. So in the new dir would look like this "NEW-Dir/clips/clip33/clips33-a/*"

Which commands i have to use for all this ?

If somebody can help me with a ssh string, that would be great and saves me a lot of work manually.

Thank you in advance.

~ Renaldo,
Inter-Sex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote