![]() |
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 |
| Need help renaming files | bbbngowc | UNIX for Dummies Questions & Answers | 5 | 04-23-2008 02:08 PM |
| Renaming Files | abch624 | Shell Programming and Scripting | 2 | 03-20-2008 12:54 AM |
| Renaming files | Tygoon | UNIX for Dummies Questions & Answers | 7 | 01-06-2008 10:59 PM |
| renaming files | systemsb | UNIX for Dummies Questions & Answers | 3 | 05-25-2006 12:56 AM |
| renaming files | raguramtgr | UNIX for Dummies Questions & Answers | 4 | 09-21-2004 10:57 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Renaming files
Hello.
Need to rename 1000's of files with names like 991%20(2003)%20-%20991%20Ryall%20Prison%20Population%20and%20Recorded%20Crime.doc All I need is the beginning numbers , in this case 991 . Tried: for file in * ; do mv $file `echo $file | sed '/^[0-9]{p;q}'` ; done but no luck. Thank You. Whatsup. |
|
|||||
|
File system explorer on UNIX/LINUX
Hi,
You might find http://www.computerhope.com/unix/tree.htm usefull for building the file system explorer on UNIX/LINUX. Thanks, Uday. |
|
|||||
|
Quote:
You may as well say "Try 'man bash'". Why even bother responding? Can you find a search string that matches what the user asked? |
|
|||||
|
Quote:
rename files Returns dozens of examples of examples of this question or others very similar and its possible answers. Most people are quite capable of using a search function, and repeating answers that have been given umpteen times before does not contribute anything to the knowledge base of these forums, however pointing a user to the search engine, may provide them with:
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime. |
![]() |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|