ANN: xfce4-notes-plugin version 1.6.0 released
mmassonnet at gmail.com
mmassonnet at gmail.com
Thu Dec 27 15:47:40 CET 2007
On Thu, Dec 27, 2007 at 02:39:34PM +0100, Liviu Andronic wrote:
> Hello,
Hi Liviu,
> On 11/23/07, mike.massonnet at gmail.com <mike.massonnet at gmail.com> wrote:
> > Migrate your old data:
> > WINDOW_NAME="Notes (migrate)" && mkdir -p
> > ~/.local/share/notes/$WINDOW_NAME && grep '^note[0-9]*='
> > ~/.config/xfce4/panel/notes.rc | cut -d= -f2- | split -l 1 -d -
> > ~/.local/share/notes/$WINDOW_NAME/ && for notes in
> > ~/.local/share/notes/$WINDOW_NAME/* ; do echo -e $(cat $notes) > $notes
> > ; done
>
> I just upgraded to 1.6.1 and when running this script (please look at the
> attached file), it fails to migrate my data. These are the errors that pop
> up:
>
> liviu at localhost /tmp $ /home/liviu/notes
> split: extra operand `(migrate)/'
> Try `split --help' for more information.
>
> A subsequent restart of the panel displayed the notes window empty. My
> knowledge of bash is quite shaky, so any suggestions are highly
> appreciated.
I bet extra braces around the var WINDOW_NAME will do, like follow:
${WINDOW_NAME}.
> Regards,
> Liviu
HTH,
mike
More information about the Xfce
mailing list