On 11/11/13 23:31, Allan Duncan wrote: > I want to check for the existence of a file that can have a variable > tail portion of its name. > if[-f <file> ] doesn't seem to have the ability to do wild cards. > Can anyone suggest how to achieve this?
Thanks for the suggestions. I realised looking at these that my error was putting " around the file name. Lose them and it works fine. As an aside, the need is to kill a "log" file XFCE creates _sometimes_ on shut down that causes various parts of the desktop to not appear on next boot, along the lines of .cache/sessions/xfce4-session-zeus:0 It only happens on my second machine, and while inconvenient it is not a show stopper. The trouble is my wife's machine's system partition was a clone of this one... _______________________________________________ luv-main mailing list [email protected] http://lists.luv.asn.au/listinfo/luv-main
