PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

renaming files via shell script


Your Ad Here

Your Ad Here

Chris F.A. Johnson

Where are KDE desktop icon labels stored
I ask here because I tried everywhere else, including #kde. I run Kanotix. I have 2 other parbreastions. On desktop my other parbreastions have hard-disk icons with...

Thanks for the help, I've learned alot! mmv is a new one for me the scripts will help me a lot.

file' to work. I can, however, get for file in "*mpc*" to work (mpc is what I meant by somefile.

Here's my test case:

#!-bin-sh echo "in script" do echo "in for loop" done

I get 'in script' but not 'in for loop' .

The command I run is this, from the directory that has convertmpc.sh

find . -type f -name "*mpc*" -exec .-convertmpc.sh;

The files I have are like so (from same dir as convertmpc.sh)

. .-mppdec-static .-bc .-bc-01 - Stella By Starlight.mpc .-bc-02 - Autumn Leaves.mpc .-bc-03 - New Waltz.mpc .-bc-04 - Bouncing With Bud.mpc .-bc-05 - 'Round Midnight.mpc .-bc-06 - And Then Again.mpc .-bc-07 - I Thought About You.mpc .-bc-08 - Someday My Prince Will Come.mpc .-ozricabs.mp3 .-stella.mp3 .-convertmpc.sh

Now if I change the script to be the following, I get the 'in for loop' message:

Tape drive doesn't show when booting from linux rescue FC4 Help
p.s., trying to be as throrough as I know how: here's the output of ls -lisadev: total...

#!-bin-sh echo "in script" for file in "*mpc*" do echo "in for loop" done

What am I doing wrong?

iksrazal



Your Ad Here

List | Previous | Next

Tape drive doesn't show when booting from linux rescue FC4 Help

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

Problems with lircd 489