Hey all,
I have a bit of a project i’m looking at doing. It would be used to copy certain files to certain folders on a PSP memory stick.
Of course, anyone with a PSP knows that every memory stick has the same folder format. (Always the same names, in the same order, ect) but the disk name may be different.
Now then, 2 questions
- I know how to get the disk name with something like
tell application "Finder"
set pspstick to (choose disk with prompt "Choose the PSP memory stick")
end tell
but heres the problem. I have a total of approx- 20 or so files, which would go to 5 or so different folders, so it wouldn’t be very efficient to copy them 1 by 1, and try to get the path to each folder on the stick.
Now then, here is where my question is. (Actually, both) Can I just say
Tell application "Finder"
set pspstick to (choose disk with prompt "Choose the PSP memory stick")
end tell
move thisfile to "/pspstick/PSP/GAME/"
move thatfile to "/pspstick/PSP/COMMON/"
move thisfolder to "/pspstick/PSP/SAVEGAME/"
move thatfolder to "/pspstick/PSP/GAME/"
I’m pretty sure that won’t work. But I’d like to do something like that instead of having to find each path ect ect. (Which anyone who knows the file structure knows that would be a pain. Most of these would be installed 3-4 levels deep)
Second… can I create an Application Bundle, and just throw each of the files in there, so that I don’t need to get paths for the files to be moved either?
And if neither of these works, is there at least a somewhat more efficient way of doing this, instead of getting the path to me, then this folder then that folder, ect, which would involve wayyy too many variables?
Any help would be appreciated