Dear Menno I know you mean right but still no cigar
here is my humble script (not a big deal)
#!/bin/bash
#move data to folder
DIALOG=${DIALOG=Xdialog}
tempfile=`tempfile 2>/dev/null` || tempfile=/tmp/test$$
trap "rm -f $tempfile" 0 1 2 5 15
$DIALOG --title "photo control" --clear \
--inputbox "write your number" 8 25 2> $tempfile
retval=$?
case $retval in
0)
echo "making file `cat $tempfile`"
#here is the twolines in question no big deal really (except for the canberra
thing)
mkdir Desktop/may`cat $tempfile` #create a folder in Desktop
mv Desktop/videosp2/fot09-05-`cat $tempfile`* Desktop/may`cat $tempfile`/ #
move files to created folder
;;
1)
echo "operation CANCELED";;
255)
if test -s $tempfile ; then
cat $tempfile
else
echo "ABORT"
fi
;;
esac
where I should put the '--stdout' in question?
sorry for the inconvenince still working with
ubuntu 9.04 Xaunty jackaloPe or ubuntu XP VISTA
--
Failed to load module "libcanberra-gtk-module.so"
https://bugs.launchpad.net/bugs/368175
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs