I downloaded an old website forum archive and it took hours to extract the zip into a folder. But now that it’s extracted, finder is stuck on loading forever. I’m guessing this is because of the massive amount of files. From what I could recall while it was being extracted, most of these were PHP files. How do I smoothly browse this without my MacBook crying in pain

  • StunnerAlpha@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Terminal. ls for starters. You could do

    ls -al {path to folder} > folder_contents.txt

    Replace {path to folder} with the directory’s path. I like to drag and drop the folder from terminal into finder.

    This will create a text file folder_contents.txt which you can open with a file editor to view the names of all files in that directory. Or if you don’t mind using the terminal to browse the text file I recommend less. Hope that helps!

  • StunnerAlpha@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Terminal. ls for starters. You could do

    ls -al {path to folder} > folder_contents.txt

    Replace {path to folder} with the directory’s path. I like to drag and drop the folder from terminal into finder.

    This will create a text file folder_contents.txt which you can open with a file editor to view the names of all files in that directory. Or if you don’t mind using the terminal to browse the text file I recommend less. Hope that helps!

  • GolemancerVekk@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    BTW those aren’t actual PHP files, they’re most likely HTML. PHP is what they’re called when they’re code on the live website but the tools that make these archives only copy a dump of the webpages. It should have renamed them but apparently didn’t. You’ll have to do the renaming instead in order to open them. It’s also extremely likely that the links between the forum pages are also ending in .php and won’t work (the tool was also supposed to have converted the links inside the files).

  • doctorpebkac@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Use an indexing tool like NeoFinder to generate a searchable offline index of the folder or volume. Then you can use the NeoFinder index to find what you want, then right-click on the file and select “Reveal in Finder”