Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #89858
| From | pH <wNOSPAMp@gmail.org> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: Need help with shell script. |
| Date | 2026-08-10 19:17 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <115d841$3d7jb$1@dont-email.me> (permalink) |
| References | <115b2mq$2natp$1@dont-email.me> <eli$2608092059@qaz.wtf> <115blrg$2s4o9$1@dont-email.me> |
On 2026-08-10, pH <wNOSPAMp@gmail.org> wrote: > On 2026-08-10, Eli the Bearded <*@eli.users.panix.com> wrote: >> In comp.os.linux.misc, pH <wNOSPAMp@gmail.org> 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 Well I have success now. Instead of trying to create a "Launcher" for Mint I simply put the script into the "Desktop" directory where it shows up as an icon. Then simply clicking on it allows it to run as I expected. It does ask if I want to just run it or run it in a terminal, but that's a simple thing my wife will not have a problem with. Thanks for all the suggestions. pH
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Need help with shell script. pH <wNOSPAMp@gmail.org> - 2026-08-09 23:32 +0000
Re: Need help with shell script. Eli the Bearded <*@eli.users.panix.com> - 2026-08-10 01:01 +0000
Re: Need help with shell script. c186282 <c186282@nnada.net> - 2026-08-10 00:23 -0400
Re: Need help with shell script. pH <wNOSPAMp@gmail.org> - 2026-08-10 05:04 +0000
Re: Need help with shell script. rbowman <bowman@montana.com> - 2026-08-10 05:44 +0000
Re: Need help with shell script. pH <wNOSPAMp@gmail.org> - 2026-08-10 19:22 +0000
Re: Need help with shell script. The Natural Philosopher <tnp@invalid.invalid> - 2026-08-10 12:12 +0100
Re: Need help with shell script. vallor <vallor@vallor.earth> - 2026-08-10 11:38 +0000
Re: Need help with shell script. "Stanislav N. aka pztrn" <pztrn@oldproto.invalid> - 2026-08-10 16:40 +0500
Re: Need help with shell script. pH <wNOSPAMp@gmail.org> - 2026-08-10 19:27 +0000
Re: Need help with shell script. Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-08-10 23:58 +0000
Re: Need help with shell script. Farley Flud <ff@gnulinux.rocks> - 2026-08-11 00:19 +0000
Re: Need help with shell script. "Stanislav N. aka pztrn" <pztrn@oldproto.invalid> - 2026-08-10 16:31 +0500
Re: Need help with shell script. c186282 <c186282@nnada.net> - 2026-08-10 21:14 -0400
Re: Need help with shell script. pH <wNOSPAMp@gmail.org> - 2026-08-10 04:59 +0000
Re: Need help with shell script. rbowman <bowman@montana.com> - 2026-08-10 05:41 +0000
Re: Need help with shell script. pH <wNOSPAMp@gmail.org> - 2026-08-10 19:17 +0000
Re: Need help with shell script. gazelle@shell.xmission.com (Kenny McCormack) - 2026-08-10 20:08 +0000
Re: Need help with shell script. Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-08-10 01:36 +0000
csiph-web