OS: OSX Leopard 10.5.6
Install-type: Don't Remember
I'm not very good with coding or scripting. Usually I can figure things out from forums, but I'm having some trouble with this. I'll try to outline everything clearly so someone can easily help me.
What I want: a script that renames and moves downloaded files based on the extension then deletes the folder. Specifically, I want *.avi files moved from the final destination folder up a directory into the folder I have specified as the "Completed Download Folder", renamed by the folder name, then deleted the original folder.
Here's what I know: you have to enable a scripts folder in Config/Folders. I have specified this.
What I don't know: What program do I write the script with? (I told you I really didn't know what I was doing.) I've been using TextEdit, and I've tried renaming the extensions .txt, .sh, .py.txt, and .applescript. Once I've created the script, do I just have to put it into the previously specified folder? Nothing has worked. I don't know if the problem is the script itself or the file or if I'm missing some configuration information in the program.
Here's the basic script I've used:
I apologize if most of this has been answered. I spent about 20 minutes in the forums with searches and didn't find anything directly related to my situation.@echo off
copy %1/*.avi /Downloads/theinternets
Thanks,
Tyler