![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| rename | bohoo | Shell Programming and Scripting | 1 | 04-07-2008 04:05 PM |
| rename the file in batch | reldb | UNIX for Advanced & Expert Users | 7 | 01-14-2008 06:43 PM |
| rename while doing ftp | Nagabhushan | Shell Programming and Scripting | 1 | 08-28-2007 06:54 AM |
| how can I rename the following=-^ | nj78 | UNIX for Dummies Questions & Answers | 5 | 09-30-2005 02:13 AM |
| rename using mv ? | simon2000 | UNIX for Dummies Questions & Answers | 2 | 03-19-2004 04:46 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
rename in batch
example test1 will have m1234567.12a
I would like to rename in batch but I don't Please help me on this. cd /a1/a2/a3 test1=$(basename /a1/a2/a3/*.*) >> /tmp/t echo $test1 echo "Extracting 8 th position" >> /tmp/t2 awk '{print substr($1,8,1); }' $test1 >> /tmp/t3 echo "extraction done" >> /tmp/t3 echo `date` "extract done timed " >> /tmp/t4 Thanks kathy |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|