Since you can scp , you must be in ssh order,
either script follow these steps or log in and execute ...
# After reaching the server of interest cd /usr/some/unknown/number/of/sub/folders tar cfj pack.tar.bz2 $(find . -type f -name *.class)
return back (exit) to the local server and scp ,
If you find that $(find ...) too long for your tar to change,
find . -type f -name *.class | xargs tar cfj pack.tar.bz2
Finally, since you keep it in /usr/project/backup/ ,
why do mining? Just save tar.bz2 , possibly with a date + timestamp.
nik Aug 04 '09 at 17:07 2009-08-04 17:07
source share