Home Forums OS X Server and Client Discussion Misc. I don’t even know what to classify this as…(folder/scripting help needed)

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #373464
    Osglith
    Participant

    Greetings Smart People,

    What I have is a situation where a user must copy a folder containing multiple other sub-folders and files onto an XSan volume. Many of these files are locked (they are created that way by a Panasonic Broadcast Video camera onto what amounts to be a large SD card). Anyway, multiple users will be copying files off these cards onto my XSan. I thought “Well I can just run a script to do a chflag command to unlock all files recursively”, but the fun doesn’t stop there. I need to chown on the folders, and do a chmod on them as well.

    Now I can go into terminal and using sudo run all three of those commands, but what I need to to automate this process so that once anything in placed in this one folder it will run those three commands for me.

    I was about to investigate some sort of Applescript Folder Action that would fire off a terminal script (of which I have no idea how to write a terminal script), but I figured I would ask if there was some server level equivalent to Applescript folder actions.

    Any input would be appreciated.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Comments are closed