keith wong wrote:
Here is steps I need to make:
1. SSH to remote.
2. su to our user.
3. tar all backup and save it to privielge
restricted location allowed
from that "su"ed user.
4. compress the tar to save space.
You could pass your tar command to su with the -c option (-c,
--commmand=COMMAND pass a single COMMAND to the shell with -c). Since
tar itself got a zip option (z) you could do the 3rd and 4th step
simultaniously.
Not very Ant-ish indeed, but a possibility.
Regards,
Gisbert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]