View Single Post
  #2  
Old 11th June 2006, 09:40
EvanCarroll EvanCarroll is offline
Junior Member
 
Join Date: Jun 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote