Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Programming/Scripts

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 24th May 2006, 15:48
erez erez is offline
Junior Member
 
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Need help for writing shell script

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
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help for writing shell script chris_87 Programming/Scripts 7 4th April 2007 15:50
Perl and cgi script installation linuxuser1 General 30 26th April 2006 23:09
Shell nveid General 5 27th March 2006 14:49
Internal Server Error 500 cgi script mphayesuk General 6 8th February 2006 22:53
Shell script is broken... Duplex Installation/Configuration 4 16th January 2006 09:55


All times are GMT +2. The time now is 09:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.