Re: Need help with shell script.

Eli the Bearded <*@eli.users.panix.com>
Newsgroups comp.os.linux.misc
Organization Some absurd concept
Message-ID <[email protected]>
In comp.os.linux.misc, pH  <[email protected]> wrote:
> so I thought I'd make a clickable icon on the Desktop to make it easy for
> her.
> the file "move_pictures" contains:
> !/bin/bash,
> mv ~/Desktop/*JPG ~/Desktop/Beckys_stuff/
> mv ~/Desktop/*PDF ~/Desktop/Beckys_stuff/

If that's your script, one issue looks like the first line:

	#!/bin/bash

Start with a # and no comma.

> But when I click on it I get an error messaage that pops up in a small
> window that says: "There was an error launching the application"

There may be more things wrong that are specific to how you created the
launcher, but I don't know anything about Mint launchers.

Elijah
------
would probably make the script work with lowercase suffixes, too
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.