![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| what happened to admintool? | mndavies | SUN Solaris | 2 | 05-12-2008 07:31 AM |
| What happened to mkisofs ? | Bobby | UNIX for Dummies Questions & Answers | 0 | 10-26-2007 03:37 AM |
| What happened with AWK? | endeavour1985 | Shell Programming and Scripting | 3 | 02-21-2005 03:57 PM |
| what happened to ygor..?? | moxxx68 | What's on Your Mind? | 2 | 10-25-2004 01:10 AM |
| what happened? | cw1972 | Post Here to Contact Site Administrators and Moderators | 14 | 10-02-2003 06:59 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
What Happened :(
Hello,
I have created a dosrename script and it was working fine unitl today. I can't think what i have changed (don't think i have to be honest). The error is when i run the script it says the file i am trying to rename does not exist when it blatently does. Or is it a typo when i run the script? Here is what i type: myscript q.* l.* I have three files q1 q2 q3 and when i did this yesterday it would change them all to l1 l2 l3 but now it says mv: cannot stat `q.*': No such file or directory If this is not a typo and you need to see my script i can post it. Thanks |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Is it q.* or q*?
Have you tried this? Code:
myscript q* l* |
|
#3
|
|||
|
|||
|
Yes i have tried this already. This does not give the error however does not rename the file where as yesterday when i did the
myscript q.* l.* it would change the filename |
|
#4
|
|||
|
|||
|
Would you mind posting the script myscript? May be we can help after seeing the script.
|
|
#5
|
|||
|
|||
|
Ha Ha
Silly me it was a typo! The script is for files with extensions so when i was testing it yesterday i was using q.1 q.2 q.3 not q1 q2 q3 which has no file extensions so would not work with my script lol |
|||
| Google The UNIX and Linux Forums |