![]() |
|
|
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 |
| automatic tar xf of file with unknown name | tkrahn | UNIX for Dummies Questions & Answers | 3 | 07-11-2007 08:25 AM |
| Automatic download of csv file using a shell script | figaro | Shell Programming and Scripting | 1 | 01-13-2007 08:53 PM |
| File increase | chapmana | UNIX for Dummies Questions & Answers | 7 | 11-24-2006 09:54 AM |
| Automatic Copy of File Contents to Clipboard | ilak1008 | Shell Programming and Scripting | 5 | 10-10-2006 12:43 PM |
| unix automatic file transfer | tagem | UNIX for Advanced & Expert Users | 4 | 11-14-2005 08:50 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Automatic name file with increase
Hello,
A file named c15a is registered on my disc all 10 minutes. I must rename that file with the actually Date and with an automatic increase number on 5 digits, so as : c15a.20070528.00001 and the next file will be : c15a.20070528.00002. The next day so tomorrow the five digits must be reset to 00001 so as for tomorrow : c15a.20070529.00001. I have done the script with the rename with the date but i have a problem with the automatic increase number. So can you help me with that increasing five digits number and automatic reset when the day changed. So thanks a lot , bye. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|