Applescript to delete and move files

Discussion in 'AppleScript' started by appatight, Mar 9, 2011.

  1. appatight

    appatight New Member

    Joined:
    Mar 9, 2011
    Messages:
    1
    Likes Received:
    0
    Hi I don't really know much at all about applescript but this seems like it can be elementary for some of you scripting beast. Basically, I have a my mac set up for ftp access and my friends will upload skate videos and I do editing for them with Final Cut. Basically this software that they use to convert the video into a .mov file for me always adds these 2 unneeded files in the folder along with it. I do a lot of this remotely on my macbook pro. Basically I have them ftp to a folder I call "VIDZ" inside that folder they upload their folders which consist of a .mov, a .sfv file, and some other unknown file. I would like to have an applescript that will scan the VIDZ folder and subfolders for .mov files and if it finds any it will move them to a folder called RFE VIDZ and delete everything else including the subfolders. On a side note I would like this script to automatically run about once every 3 hours. I will be most greatful if someone could lead me in the right direction. If you need exact paths of the folders it's below...

    VIDZ = /Users/Freddy/Documents/VIDZ
    RFE VIDZ =/Users/Freddy/Desktop/RFE VIDZ
     
    appatight, Mar 9, 2011
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.