Displaying 1 result from an estimated 1 matches for "mntname".
Did you mean:
ntname
2005 Feb 10
0
Trouble calling rsync from Java
I'm writing a webapp to be used internally at my company over a LAN. Users
can specify info on their computer that should be archived to a central
location, then a Java servlet calls Runtime.exec() to launch the following
script:
#!/bin/sh
from=$1
to=$2
mntName=$3
mount -f "$from" "/$mntName"
rsync -avz "/$mntName/" `cygpath "$to"`
umount "/$mntName"
This works fine on my development box, but when I moved everything to the
production environment, I get the following error every time:
pipe: Operation not...