|
Posted by Toby A Inkster on 02/24/07 08:12
Curtis wrote:
> A little more involved, but this will allow for extensions like tar.gz
> or tar.bz2, etc. It gets the position in the file name, of the first
> ".", and keeps everything after.
> [...]
What about "nedit-5.5-src.tar.gz"? Your code will rename it to
"newname.5-src.tar.gz" whereas ideally it would be named "newname.tar.gz".
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux
* = I'm getting there!
Navigation:
[Reply to this message]
|