Thallez
12.03.04, 11:45
Ich möchte gerne den tar befehl ausführen
und mit while solage wie tar läuft ein watch auf das verzecihnis machen mit der ziel datei leider bekomme
ich es nicht hin hier mal der code
echo Processing Temp Profiles ......
$tar_b - $profiles_s | $bzip2 > $profiles_t/$filedate.profiles.tar.bz2
while [ `ps x | grep tar | grep -vc grep` -le 1 ]
do
watch "ls -la $profiles_t/ | grep $filedate.profiles.tar.bz2" > /tmp/status;
cat /tmp/status | grep $filedate.profiles.tar.bz2;
done;
echo Processing Temp Netlogon ......
und mit while solage wie tar läuft ein watch auf das verzecihnis machen mit der ziel datei leider bekomme
ich es nicht hin hier mal der code
echo Processing Temp Profiles ......
$tar_b - $profiles_s | $bzip2 > $profiles_t/$filedate.profiles.tar.bz2
while [ `ps x | grep tar | grep -vc grep` -le 1 ]
do
watch "ls -la $profiles_t/ | grep $filedate.profiles.tar.bz2" > /tmp/status;
cat /tmp/status | grep $filedate.profiles.tar.bz2;
done;
echo Processing Temp Netlogon ......