Die .DS_Store Die!

Discussion in 'Mac Apps and Mac App Store' started by Wes, Jul 23, 2004.

  1. Wes macrumors 68020

    Wes

    Joined:
    Jun 22, 2001
    Location:
    London
    #1
    Hi guys, I've just returned from Africa and I agreed to host all the pictures for the team. They're going to come out to be more than 500 megs so using my webhosting is out of the question. I've decided to host the images on my computer using web sharing/apache/php. I want to use a flash gallery which uses some PHP. The code is written for linux/windows and when it looks in a folder and sees a .DS_Store it freaks out and download work. If I remove the .DS_Store from the folder the gallery works until Mac OS recreates the file. Is there a way to get around this?

    I would put the put the pictures in a different partition with a unix file system or the like, but I've read that in order for the PHP part of the site to work it must be contained within the sites folder.

    Progress: I have a 10 gigabyte partition to spare so I reformatted it to the Unix file system option. The gallery looks in a folder called 'content' for the images. I made an alias of the drive and renamed it to 'content' but no luck. Would there be a way to mirror the contents of the experimental drive in the content folder so that no .DS_Store is created?


    Thanks!
     
  2. Rower_CPU Moderator emeritus

    Rower_CPU

    Joined:
    Oct 5, 2001
    Location:
    San Diego, CA
    #2
    Well, you could do all the file transfer and management via the Terminal. AFAIK, .DS_Store files only show up when using the Finder to navigate and set window preferences (location, size, sorting, etc.).

    As long as your *nix skills were OK, you wouldn't have to mess with aliasing the directory at all.
     

Share This Page