Re: Need help with shell script.
pH <[email protected]>
| Newsgroups | comp.os.linux.misc |
|---|---|
| Organization | A noiseless patient Spider |
| Message-ID | <[email protected]> |
On 2026-08-10, Eli the Bearded <*@eli.users.panix.com> wrote: > 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. > The pics and pdf's she saves are guaranteed uppercase. I fixed the shebang...heck, I hadn't even noticed the comma! No luck so far but thanks for the reply. pH >> 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