dennis123123 Posted April 23, 2009 Share Posted April 23, 2009 I am wondering if anyone can help me. I am looking for help writing a script (bash,perl,whatever) which can determine the latest version of a sourceforge project and download it (then unpack,compile,etc,etc - that part is fine). It seems like a task someone should have done already I would have thought, but searches seem to turn up CVS and SVN type auto update scripts, which I dont think is what I am looking for. As an example, ill use "sleuthkit" (it is some forensic software I am required to have the latest "proper" release of): http://heanet.dl.sourceforge.net/sourceforge/sleuthkit/ lists many files and releases. the one I would like the script to download is named sleuthkit-3.0.1.tar.gz as of today. but of course the version number will change periodically so 3.0.2, 3.1, 4.0.1...etc. Has this already been accomplished in some way or will I need to write a parser for the webpage of each software I want to download?! Cheers for any help! I posted this at linuxquestions and am yet to get any reply :( But I thought, the hak5 people are keen on coding etc, maybe they can help! EDIT: actually, the link doesnt take you to a directory listing unless you have previously gone through the sourceforge page :( that makes things even more awkward Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.