Activity Stream
48,167 MEMBERS
61051 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Retired NinJa
    Website's:
    loledhard.com

    Default Links Sorter

    I upload files all at once so its like 10 stuffs at a time. & 3 different file hosts. I am trying to do is sort this links based on the name of the stuff

    Example: I have this links

    INPUT
    http://RS.com/file1.part01.rar
    http://RS.com/file1.part02.rar
    http://RS.com/file2.part01.rar
    http://RS.com/file2.part02.rar
    http://FS.com/file1.part01.rar
    http://FS.com/file1.part02.rar
    http://FS.com/file2.part01.rar
    http://FS.com/file2.part02.rar
    http://HF.com/file1.part01.rar
    http://HF.com/file1.part02.rar
    http://HF.com/file2.part01.rar
    http://HF.com/file2.part02.rar

    I want this as to be arranged based on the stuff name i.e. file1, file2. The ouput should be like
    output
    http://RS.com/file1.part01.rar
    http://RS.com/file1.part02.rar
    http://FS.com/file1.part01.rar
    http://FS.com/file1.part02.rar
    http://HF.com/file1.part01.rar
    http://HF.com/file1.part02.rar

    http://RS.com/file2.part01.rar
    http://RS.com/file2.part02.rar
    http://FS.com/file2.part01.rar
    http://FS.com/file2.part02.rar
    http://HF.com/file2.part01.rar
    http://HF.com/file2.part02.rar

    Do u guys have any idea to make this work. I am trying this for some time now. But I failed miserably

    Note : Please I dont want to sort the links. Sorting is easy & I already have sorted list. I need output in particular format as seen in example. Links of one stuff with diffFilehost at a time. Its not as u guys are thinking.
    CJ Reviewed by CJ on . Links Sorter I upload files all at once so its like 10 stuffs at a time. & 3 different file hosts. I am trying to do is sort this links based on the name of the stuff Example: I have this links INPUT http://RS.com/file1.part01.rar http://RS.com/file1.part02.rar http://RS.com/file2.part01.rar http://RS.com/file2.part02.rar http://FS.com/file1.part01.rar Rating: 5



    You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!

  2.   Sponsored Links

  3.     
    #2
    Banned
    Website's:
    google.com
    simply sort it by hand lol

  4.     
    #3
    Retired NinJa
    Website's:
    loledhard.com
    ^plz dont use ur brain too much. It is dangerous for u.
    Please mate need serious reply. This part wastes most of my time.



    You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!

  5.     
    #4
    Member
    Website's:
    intelligen2009.com
    hey,
    you need to extract the filename "file1.part01.rar" or "file2.part02.rar" (using last delimiter "/"). Well, now remove the file ext ".rar", ".zip" ... and again check if there is something like "part" in the filename -> remove the file extension again. For some file-hosters you maybe need to remove the "htm" or "html" first [depends i.e. netload.in ].
    Okay now you have the filename only, without the file extension and you can compare "file1" != "file2" but "file1" == "file1" ...

    i hope this helps

  6.     
    #5
    Retired NinJa
    Website's:
    loledhard.com
    Quote Originally Posted by geskill View Post
    hey,
    you need to extract the filename "file1.part01.rar" or "file2.part02.rar" (using last delimiter "/"). Well, now remove the file ext ".rar", ".zip" ... and again check if there is something like "part" in the filename -> remove the file extension again. For some file-hosters you maybe need to remove the "htm" or "html" first [depends i.e. netload.in ].
    Okay now you have the filename only, without the file extension and you can compare "file1" != "file2" but "file1" == "file1" ...

    i hope this helps
    Lol do u think I havent tried that. Its not working that way around.

    Quote Originally Posted by desiboy View Post
    bash scripting lol

    is that you need ?

    one liner..

    use linux sort command with number option

    sort -n
    Lol the part u are showing can be done easily. Just see example of input & output its differnt from what u just said. I need the links of one stuff altogether (with different filehosts mirror)
    All part of 1st stuff on RS
    All part of 1st stuff on FS
    All part of 1st stuff on HF

    All part of 2nd stuff on RS
    All part of 2nd stuff on FS
    All part of 2nd stuff on HF
    See example plz

    Quote Originally Posted by Mind Freak™ View Post
    yea desi thts wht he exactly needs
    What the fuck u think lol. That wasnt i needed. See example



    You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!

  7.     
    #6
    Member
    Website's:
    intelligen2009.com
    Quote Originally Posted by humour View Post
    Lol do u think I havent tried that. Its not working that way around.
    it will work and you will get these two link-blocks you've posted ([EDIT] not yet completely sorted[/EDIT]). After this you have to sort the hoster-names. Maybe you should make a system for different hoster declarations but the same hoster (uploaded.to // ul.to ...) [remove ".www"].
    Finally you need to sort the parts, i recommend to use regular expressions i.e.:
    Use the second match for getting the part-index
    Code: 
    (7z\.|part|r|[.][0-9])([0-9]+)
    not intended for commercial use!
    powered by: Mody™ a part of IntelligeN 2009 © 2007-2010 Sebastian Klatte

    ---
    If you understand everything you ll see that you have to do this in 3 steps, in my first post i've give you a hint how you can start...

  8.     
    #7
    Member
    bash scripting lol

    Input




    Output



    is that what you need ?

    one liner..

    use linux sort command with number option

    sort -n
    Coding Horror Fan
    I don't read PM's frequently .

  9.     
    #8
    The King of Kings
    Website's:
    rukidding.org thetechnews.org
    yea desi thts wht he exactly needs

  10.     
    #9
    Member
    ok..got it..
    I will try
    Coding Horror Fan
    I don't read PM's frequently .

  11.     
    #10
    Retired NinJa
    Website's:
    loledhard.com
    thanks Dude. & it would be better if u use PHP



    You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Links sorter for uploaders
    By RT in forum Useful Sites
    Replies: 46
    Last Post: 21st Jan 2012, 03:09 PM
  2. Java Link Sorter
    By gamelord in forum Webmaster Resources
    Replies: 10
    Last Post: 6th Dec 2011, 01:44 AM
  3. Any other link-sorter sites besides mirrormaker?
    By factor in forum File Host Discussion
    Replies: 3
    Last Post: 23rd Oct 2011, 10:29 AM
  4. Searching for Link sorter ( organize tool ) to easily order links
    By bestsnipe in forum Webmasters, Money Making
    Replies: 10
    Last Post: 4th May 2011, 09:23 PM

Tags for this Thread

BE SOCIAL