[Bash] Rename filenames with corresponding filenames
Im getting a headache of bash, and I got a question.
I got a filename called like this:
It's like this:
Now Im splitting these hourly files into 1 minute files.
I get then this output sofar properly:
and so on....
the 00, 01, 02 and up are the minutes it has splitted it.
Now I need a script, after it did this, to rename the file names into this:
and so on...
Could anybody help me with perhaps fixing a script that this works ?
I could make something like this with PHP though, but I wish it to be a easy to work bash script, if possible.
Thanks, but I have no idea how to use expressions in regard to what I want.
Could someone point me out how to start ?
Thanks for the feedback.
I got this somehow working, but I got yesterday a PHP variant working already.
The thing about the PHP version is that I can hook it up on our administrator panel using a HTTP authentication as check and sessions.
Thanks for the information and I certainly keep this forum as one of my question basis for Linux :)
|All times are GMT -5. The time now is 03:13 AM.|