Originally Posted by
sweetthdevil
"cat: exported_tasks.txt: Aucun fichier ou dossier de ce type"
What should I do?
Is looking for the file called exported_tasks.txt in the directory where this script is.
You need to change that line to
Code:
cat /path/to/exported_tasks.txt
it is where the initial script saves your tomboy tasks to,
Here is the script more tailored to what you are after
Code:
#!/bin/sh
if ps ax | grep -v grep | grep "tomboy" > /dev/null
then
#tomboy is running run the script
python exportTomboyNote.py
else
#not running just cat the exported tasks text file
# do nothing
fi
cat /path/to/exported_tasks.txt
Bookmarks