Quote:
|
Originally Posted by erez
I need some help in writing a shell script, it basically need to delete all my older files , the file name structure is like that :
song100000732200506114828.3gp
song100000732200506124528.3gp
song100000732200506214528.3gp
.....................
.....
· song – constant prefix.
· 100000732 – 9 digits unique key [per msisdn]
· 200506114528 – time stamp [DDMMYYHHMISS format]
The unique key is the same for each play list of specific msisdn.
The only thing that changes is the timestamp.
so i need for each unique key (there are more then one) the news file will remain
Can anyone help me?
thanks
|
Do you need it in shell? Or can it be scripted in a real language.