![]() |
|
|
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 |
| insert text into the middle of a original file | mopimp | Shell Programming and Scripting | 1 | 03-26-2006 11:11 AM |
| ftp - get file and keep original timestamp? | frustrated1 | Shell Programming and Scripting | 2 | 03-15-2006 01:31 PM |
| accessing o an exact line in a file | walnut | Shell Programming and Scripting | 2 | 02-23-2006 04:31 PM |
| how to find the exact pattern from a file? | surjyap | Shell Programming and Scripting | 7 | 12-05-2005 09:00 AM |
| Help with multiple file rename - change case of part of file name | steve7 | UNIX for Dummies Questions & Answers | 7 | 06-30-2005 02:41 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Rename a file if I don't know its exact original name?
Hi everyone,
I will be downloading a file every day with the name in this format SCA20060303_17514_IN.TXT And I need to rename it to SCA20060303_IN.TXT Where "20060303" is the current date, and the "_17514" part will always be a 5-digit number that I will NOT know beforehand. I just need to take it out. I've always used the mv filename1 filename2 command to rename files but how can I do this if I don't know the exact original name of the file? Thanks, Ryan |
|
|||||
|
Quote:
do you understand what 'nmap' does? did you consider the pros and cons of either of the methods? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|