Need help with shell script.
pH <[email protected]>
| Newsgroups | comp.os.linux.misc |
|---|---|
| Organization | A noiseless patient Spider |
| Message-ID | <[email protected]> |
Using Linux Mint My wife downloads photos from her camera and leaves them in the "Desktop" directory. I put them where they belong (from a terminal) w/ mv ~/Desktop/*JPG ~/Desktop/Beckys_stuff/ mv ~/Desktop/*PDF ~/Desktop/Beckys_stuff/ where Beckys_stuff is a directory 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/ I saved it in my 'scripts' directory and and did "chmod +x move_pictures" I then created a new launcher on the desktop with the command field filled in as: ~/scripts/move_pictures 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" Every variation I've tried (like removing the !/bin/bash shebang) has led to the same message. What am I doing wrong? pH in Aptos